1180b951 by Adam Heath

Handle blank password.

1 parent 24f8bd97
......@@ -167,7 +167,7 @@ Map<String, Object> syncUserAccount() {
logger.info("Would update: keycloak(${keycloakUserId})")
updateUser(keycloakUserId, userId)
if (newPassword != null) {
if (newPassword) {
UserResource userResource = usersResource.get(keycloakUserId)
List<CredentialRepresentation> credentials = userResource.credentials()
for (CredentialRepresentation credential: credentials) {
......