Revision fd1c78f8
Added by Katja Luther over 6 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/password/PasswordWizard.java | ||
---|---|---|
71 | 71 |
CdmStore.getService(IUserService.class).changePasswordForUser(user.getUsername(), passwordPage.getNewPassword()); |
72 | 72 |
} |
73 | 73 |
CdmStore.getService(IUserService.class).loadWithUpdate(user.getUuid()); |
74 |
CdmStore.getLoginManager().authenticate(user.getUsername(), passwordPage.getNewPassword()); |
|
74 |
if (user.equals(CdmStore.getLoginManager().getAuthenticatedUser())){ |
|
75 |
CdmStore.getLoginManager().authenticate(user.getUsername(), passwordPage.getNewPassword()); |
|
76 |
} |
|
75 | 77 |
internalConversation.commit(false); |
76 | 78 |
internalConversation.unbind(); |
77 | 79 |
internalConversation.close(); |
Also available in: Unified diff
fix #6773: after changing password for other user this user should not be locked in