mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-21 21:57:56 +01:00
Clean up code
This commit is contained in:
parent
1eab15f8f3
commit
fad7442ffc
@ -125,9 +125,8 @@ public class UserManagerImpl
|
|||||||
template.delete(collaborator);
|
template.delete(collaborator);
|
||||||
|
|
||||||
// Save all new...
|
// Save all new...
|
||||||
user.setPassword(passwordEncoder.encode(user.getPassword()));
|
this.createUser(user);
|
||||||
template.save(user);
|
newCollabs.forEach(c -> template.saveOrUpdate(c));
|
||||||
newCollabs.forEach(c -> template.save(c));
|
|
||||||
|
|
||||||
return user;
|
return user;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user