Skip to content

Commit 89f13ac

Browse files
add error message to logs
1 parent 28691a5 commit 89f13ac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/src/main/java/com/cloud/user/AccountManagerImpl.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1477,6 +1477,7 @@ protected void validateUserPasswordAndUpdateIfNeeded(String newPassword, UserVO
14771477

14781478
User.Source userSource = user.getSource();
14791479
if (userSource == User.Source.SAML2 || userSource == User.Source.SAML2DISABLED || userSource == User.Source.LDAP) {
1480+
s_logger.warn(String.format("Unable to update the password for user [%d], as its source is [%s].", user.getId(), user.getSource().toString()));
14801481
throw new InvalidParameterValueException("CloudStack does not support updating passwords for SAML or LDAP users. Please contact your cloud administrator for assistance.");
14811482
}
14821483

0 commit comments

Comments
 (0)