Browse Source

[CLOUDTRUST-1917] correction part2

master
Sonia 6 years ago
committed by GitHub
parent
commit
5435023361
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      keycloak_client.go

4
keycloak_client.go

@ -407,8 +407,8 @@ func whitelistErrors(statusCode int, message string) error {
"User exists with same username or email": MsgErrExistingValue + "." + UserOrEmail, "User exists with same username or email": MsgErrExistingValue + "." + UserOrEmail,
"usernameExistsMessage": MsgErrExistingValue + "." + UserOrEmail, "usernameExistsMessage": MsgErrExistingValue + "." + UserOrEmail,
"emailExistsMessage": MsgErrExistingValue + "." + UserOrEmail, "emailExistsMessage": MsgErrExistingValue + "." + UserOrEmail,
"Username exists with same username": MsgErrExistingValue + "." + Username, "User exists with same username": MsgErrExistingValue + "." + Username,
"Username exists with same email": MsgErrExistingValue + "." + Email, "User exists with same email": MsgErrExistingValue + "." + Email,
"readOnlyUsernameMessage": MsgErrReadOnly + "." + Username, "readOnlyUsernameMessage": MsgErrReadOnly + "." + Username,
} }

Loading…
Cancel
Save