mirror of
https://github.com/delight-im/PHP-Auth.git
synced 2025-08-04 07:07:25 +02:00
Improve language
This commit is contained in:
@@ -245,7 +245,7 @@ function processRequestData(\Delight\Auth\Auth $auth) {
|
|||||||
return 'email address not verified';
|
return 'email address not verified';
|
||||||
}
|
}
|
||||||
catch (\Delight\Auth\ResetDisabledException $e) {
|
catch (\Delight\Auth\ResetDisabledException $e) {
|
||||||
return 'password reset disabled';
|
return 'password reset is disabled';
|
||||||
}
|
}
|
||||||
catch (\Delight\Auth\TooManyRequestsException $e) {
|
catch (\Delight\Auth\TooManyRequestsException $e) {
|
||||||
return 'too many requests';
|
return 'too many requests';
|
||||||
@@ -264,7 +264,7 @@ function processRequestData(\Delight\Auth\Auth $auth) {
|
|||||||
return 'token expired';
|
return 'token expired';
|
||||||
}
|
}
|
||||||
catch (\Delight\Auth\ResetDisabledException $e) {
|
catch (\Delight\Auth\ResetDisabledException $e) {
|
||||||
return 'password reset disabled';
|
return 'password reset is disabled';
|
||||||
}
|
}
|
||||||
catch (\Delight\Auth\InvalidPasswordException $e) {
|
catch (\Delight\Auth\InvalidPasswordException $e) {
|
||||||
return 'invalid password';
|
return 'invalid password';
|
||||||
|
Reference in New Issue
Block a user