Skip to content

Commit 8d6509a

Browse files
committed
[BUGFIX] Clear changePasswordReason after password change
Refs #80
1 parent a7a17a9 commit 8d6509a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Classes/Service/FrontendUserService.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ public function updatePassword(string $newPassword): void
114114

115115
// Unset reason for password change in user session
116116
$this->getFrontendUser()->setKey('ses', self::SESSION_KEY, null);
117+
$this->getFrontendUser()->storeSessionData();
117118

118119
// Destroy all sessions of the user except the current one
119120
$sessionManager = GeneralUtility::makeInstance(SessionManager::class);

0 commit comments

Comments
 (0)