1
0
mirror of https://github.com/delight-im/PHP-Auth.git synced 2025-08-05 15:47:25 +02:00

Fix response on exception in tests

This commit is contained in:
Marco
2017-07-29 22:59:09 +02:00
parent f68d29000e
commit cf7493d87e

View File

@@ -86,7 +86,7 @@ function processRequestData(\Delight\Auth\Auth $auth) {
return 'email not verified';
}
catch (\Delight\Auth\AttemptCancelledException $e) {
return 'attempt randomly cancelled';
return 'attempt cancelled';
}
catch (\Delight\Auth\TooManyRequestsException $e) {
return 'too many requests';