mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-03 09:39:38 +00:00
store User changes after password/e-mail update
This commit is contained in:
1 parent
01e81c83b3
commit
43091c5063
2 files changed
+4
No files matched your search
+2
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user