mirror of https://github.com/apache/cloudstack.git
we should not be ignoring case whilst updating account, reverting to .equals instead of .equalsIgnoreCase
This commit is contained in:
parent
8c8a7c7762
commit
16438f3470
|
|
@ -1151,7 +1151,7 @@ public class ManagementServerImpl implements ManagementServer {
|
|||
throw new PermissionDeniedException("There already exists an account with the name:"+newAccountName+" in the domain:"+domainId+" with existing account id:"+duplicateAcccount.getId());
|
||||
}
|
||||
|
||||
if (account.getAccountName().equalsIgnoreCase(newAccountName)) {
|
||||
if (account.getAccountName().equals(newAccountName)) {
|
||||
success = true;
|
||||
} else {
|
||||
AccountVO acctForUpdate = _accountDao.createForUpdate();
|
||||
|
|
|
|||
Loading…
Reference in New Issue