Commit 2449c98d authored by michael.simon's avatar michael.simon
Browse files

fire user changed event, if user changed from ON_HOLD to ACTIVE

parent 49052bb0
......@@ -163,6 +163,11 @@ public class UserUpdateServiceImpl implements UserUpdateService {
if (UserStatus.ON_HOLD.equals(user.getUserStatus())) {
user.setUserStatus(UserStatus.ACTIVE);
user.setLastStatusChange(new Date());
/*
* fire a user changed event to be sure, when the user is activated
*/
changed = true;
}
/*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment