Merge branch 'RED-7539' into 'main'
RED-7539: changed error message when validating password causes an error See merge request fforesight/tenant-user-management-service!65
This commit is contained in:
commit
10a834e7f8
@ -277,7 +277,7 @@ public class UserService {
|
||||
try {
|
||||
changeEmailClient.tokenManager().getAccessTokenString();
|
||||
} catch (NotAuthorizedException e) {
|
||||
throw new ResponseStatusException(HttpStatus.BAD_REQUEST);
|
||||
throw new ResponseStatusException(HttpStatus.BAD_REQUEST, "Could not confirm credentials");
|
||||
}
|
||||
|
||||
changeEmailClient.close();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user