mirror of
https://github.com/delight-im/PHP-Auth.git
synced 2025-08-05 07:37:25 +02:00
Fix response on exception in tests
This commit is contained in:
@@ -86,7 +86,7 @@ function processRequestData(\Delight\Auth\Auth $auth) {
|
|||||||
return 'email not verified';
|
return 'email not verified';
|
||||||
}
|
}
|
||||||
catch (\Delight\Auth\AttemptCancelledException $e) {
|
catch (\Delight\Auth\AttemptCancelledException $e) {
|
||||||
return 'attempt randomly cancelled';
|
return 'attempt cancelled';
|
||||||
}
|
}
|
||||||
catch (\Delight\Auth\TooManyRequestsException $e) {
|
catch (\Delight\Auth\TooManyRequestsException $e) {
|
||||||
return 'too many requests';
|
return 'too many requests';
|
||||||
|
Reference in New Issue
Block a user