mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
comply with api key constraint
This commit is contained in:
parent
4afdee9896
commit
d126cd21ea
@ -1734,6 +1734,8 @@ public class AccountManagerImpl extends ManagerBase implements AccountManager, M
|
||||
UserVO newUser = new UserVO(user);
|
||||
user.setExternalEntity(user.getUuid());
|
||||
user.setUuid(UUID.randomUUID().toString());
|
||||
user.setApiKey(null);
|
||||
user.setSecretKey(null);
|
||||
_userDao.update(user.getId(),user);
|
||||
newUser.setAccountId(newAccountId);
|
||||
boolean success = _userDao.remove(user.getId());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user