mirror of
https://github.com/delight-im/PHP-Auth.git
synced 2025-08-02 14:17:26 +02:00
Explain why login attempts may (confusingly) be cancelled in 'tests'
This commit is contained in:
@@ -82,7 +82,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 cancelled';
|
return 'attempt randomly 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