1
0
mirror of https://github.com/delight-im/PHP-Auth.git synced 2025-07-31 13:20:11 +02:00

Explain why login attempts may (confusingly) be cancelled in 'tests'

This commit is contained in:
Marco
2017-07-24 23:26:30 +02:00
parent 50b9c48f8d
commit 499fbb6542

View File

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