store User changes after password/e-mail update

This commit is contained in:
Axel Uhl committed 2024-11-25 15:26:05 +01:00
1 parent 01e81c83b3
commit 43091c5063
2 files changed
+4

No files matched your search

@@ -30,6 +30,8 @@
into one profile, these profiles can be used for filtering and grouping in data mining.</li>
<li>Bug fix: data mining now correctly propagates the current user session to all data retrieval processes,
and all security checks for object readability by the current subject are now in place.</li>
<li>User e-mail and password changes were not always updated properly to the persistent storage
and may have gotten reset, e.g., during a software update. This is now fixed.</li>
</ul>
<h5 class="articleSubheadline">October 2024</h5>
<ul class="bulletList">
@@ -1090,6 +1090,7 @@ implements ReplicableSecurityService, ClearStateTestSupport {
account.setSalt(salt);
account.setSaltedPassword(hashedPasswordBase64);
user.passwordWasReset();
store.updateUser(user);
return null;
}
@@ -1161,6 +1162,7 @@ implements ReplicableSecurityService, ClearStateTestSupport {
final User user = getUserByName(username);
user.setEmail(newEmail);
user.startEmailValidation(validationSecret);
store.updateUser(user);
return null;
}