mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
allow email updates from admin panel
This commit is contained in:
@@ -68,6 +68,7 @@ public class AdminREST extends AbstractResourceREST {
|
||||
user.setPassword(encryptionService.getEncryptedPassword(
|
||||
userModel.getPassword(), user.getSalt()));
|
||||
}
|
||||
user.setEmail(userModel.getEmail());
|
||||
user.setDisabled(!userModel.isEnabled());
|
||||
userDAO.update(user);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user