mirror of
https://github.com/delight-im/PHP-Auth.git
synced 2025-08-06 08:07:27 +02:00
Document new exception for 'confirmEmail' and 'confirmEmailAndSignIn'
This commit is contained in:
@@ -184,6 +184,9 @@ catch (\Delight\Auth\InvalidSelectorTokenPairException $e) {
|
|||||||
catch (\Delight\Auth\TokenExpiredException $e) {
|
catch (\Delight\Auth\TokenExpiredException $e) {
|
||||||
// token expired
|
// token expired
|
||||||
}
|
}
|
||||||
|
catch (\Delight\Auth\UserAlreadyExistsException $e) {
|
||||||
|
// email address already exists
|
||||||
|
}
|
||||||
catch (\Delight\Auth\TooManyRequestsException $e) {
|
catch (\Delight\Auth\TooManyRequestsException $e) {
|
||||||
// too many requests
|
// too many requests
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user