diff --git a/src/Exceptions/ExpiredSignatureException.php b/src/Exceptions/ExpiredSignatureException.php index 6c50c3b..814a09b 100644 --- a/src/Exceptions/ExpiredSignatureException.php +++ b/src/Exceptions/ExpiredSignatureException.php @@ -9,6 +9,6 @@ class ExpiredSignatureException extends Exception { public function __construct() { - parent::__construct(401, 'Invalid signature.'); + parent::__construct(401, config('laravel-passwordless-login.invalid_signature_message')); } } diff --git a/src/Exceptions/InvalidSignatureException.php b/src/Exceptions/InvalidSignatureException.php index 1f378c2..ff45874 100644 --- a/src/Exceptions/InvalidSignatureException.php +++ b/src/Exceptions/InvalidSignatureException.php @@ -9,6 +9,6 @@ class InvalidSignatureException extends Exception { public function __construct() { - parent::__construct(401, 'Invalid signature.'); + parent::__construct(401, config('laravel-passwordless-login.invalid_signature_message')); } }