From 543502336106f5ff680d8776386f69687f7d1eaf Mon Sep 17 00:00:00 2001 From: Sonia <31467983+bsoniam@users.noreply.github.com> Date: Tue, 17 Dec 2019 09:08:08 +0100 Subject: [PATCH] [CLOUDTRUST-1917] correction part2 --- keycloak_client.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/keycloak_client.go b/keycloak_client.go index 0aa6ddd..9574ac2 100644 --- a/keycloak_client.go +++ b/keycloak_client.go @@ -407,8 +407,8 @@ func whitelistErrors(statusCode int, message string) error { "User exists with same username or email": MsgErrExistingValue + "." + UserOrEmail, "usernameExistsMessage": MsgErrExistingValue + "." + UserOrEmail, "emailExistsMessage": MsgErrExistingValue + "." + UserOrEmail, - "Username exists with same username": MsgErrExistingValue + "." + Username, - "Username exists with same email": MsgErrExistingValue + "." + Email, + "User exists with same username": MsgErrExistingValue + "." + Username, + "User exists with same email": MsgErrExistingValue + "." + Email, "readOnlyUsernameMessage": MsgErrReadOnly + "." + Username, }