1
0
mirror of https://github.com/delight-im/PHP-Auth.git synced 2025-08-03 22:57:27 +02:00

Explain new exception of email confirmation methods in migration guide

This commit is contained in:
Marco
2017-07-30 20:17:41 +02:00
parent 7b4c4bf0e1
commit ea67c66bd1

View File

@@ -52,6 +52,8 @@ $ composer update delight-im/auth
) WHERE user_id IS NULL;
```
* The two methods `confirmEmail` and `confirmEmailAndSignIn` may now throw an additional `\Delight\Auth\UserAlreadyExistsException` if an attempt has been made to change the email address to an address that has become occupied in the meantime.
* The two methods `forgotPassword` and `resetPassword` may now throw an additional `\Delight\Auth\ResetDisabledException` if the user has disabled password resets for their account.
* The `Base64` class is now an external module and has been moved from the namespace `Delight\Auth` to the namespace `Delight\Base64`. The interface and the return values are not compatible with those from previous versions anymore.