Skip to content

Commit

Permalink
cli: Error message Active token detected. Please logout first. #TASK-…
Browse files Browse the repository at this point in the history
…6992
  • Loading branch information
juanfeSanahuja committed Sep 26, 2024
1 parent 7bc50c5 commit a0b8d91
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public RestResponse<AuthenticationResponse> login(CustomUsersCommandOptions.Logi
String token = session.getSession().getToken();
String errorMsg = "Missing password. ";
if (StringUtils.isNotEmpty(token)) {
errorMsg += "Active token detected ";
errorMsg += "Active token detected. Please logout first.";
}
CommandLineUtils.error(errorMsg);
}
Expand Down

0 comments on commit a0b8d91

Please sign in to comment.