mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-04-01 18:00:12 +02:00
copy active property
This commit is contained in:
@@ -155,6 +155,12 @@ public class User extends BasicPropertiesAware implements Principal, ModelObject
|
||||
user.setAdmin(admin);
|
||||
}
|
||||
|
||||
if (user.isActive() != active)
|
||||
{
|
||||
result = true;
|
||||
user.setActive(active);
|
||||
}
|
||||
|
||||
if (Util.isNotEquals(user.getDisplayName(), displayName))
|
||||
{
|
||||
result = true;
|
||||
|
||||
Reference in New Issue
Block a user