diff --git a/CHANGELOG.md b/CHANGELOG.md index 58108f1795588ea9b237fe7bff90b4e7fbc1813d..8f1eabf75a7fc4922858b2437f3b96aa85b1f1c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # CHANGELOG +## Version 2.8.1 + - `Fixed` Impossible de modifier son mot de passe pour un utilisateur nouvellement créé + ## Version 2.8 - `Added` Connecteur de réception des paquets restitués depuis la plateforme T@ct de API. diff --git a/VERSION.md b/VERSION.md index a4412fa745d3d6dda670402f4ec5688a76b00c12..dbe590065479b394ecabbd44460125ae5fe544bf 100644 --- a/VERSION.md +++ b/VERSION.md @@ -1 +1 @@ -2.8 +2.8.1 diff --git a/src/bundle/auth/Controller/userAuthentication.php b/src/bundle/auth/Controller/userAuthentication.php index f28e83aefa5940f9d67cb8a07ab0dcdf2e5c855f..6b38fb8800890253c5062d465ac99404efe60fda 100755 --- a/src/bundle/auth/Controller/userAuthentication.php +++ b/src/bundle/auth/Controller/userAuthentication.php @@ -91,7 +91,7 @@ class userAuthentication } if ($userAccount->passwordChangeRequired == true) { - \laabs::setToken('TEMP-AUTH', $accountToken, $tokenDuration); + \laabs::setToken('TEMP-AUTH', $userLogin, $tokenDuration); \laabs::unsetToken('AUTH'); throw \laabs::newException('auth/userPasswordChangeRequestException'); }