1
0
mirror of https://github.com/delight-im/PHP-Auth.git synced 2025-08-03 22:57:27 +02:00

Improve language

This commit is contained in:
Marco
2018-03-10 03:50:12 +01:00
parent 2f29830ed9
commit 94531f24d3

View File

@@ -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';