Skip to content

Commit

Permalink
fix: display custom pwd strength help also for non-authz case
Browse files Browse the repository at this point in the history
  • Loading branch information
zlamalp committed Dec 16, 2022
1 parent 2f9b26f commit ca7c2b6
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,14 @@ private void setUpNonAuthz(String token) {
public void onFinished(JavaScriptObject result) {
form.setVisible(true);

if (Objects.equals(namespace, "einfra")) {
help.setHTML("<p>" + translation.einfraPasswordHelp());
} else if (Objects.equals(namespace, "vsup")) {
help.setHTML("<p>"+translation.vsupHelp());
} else if (Objects.equals(namespace, "mu")) {
help.setHTML("<p>"+translation.muPasswordHelp());
}

setUpNonAuthzSubmitButton(token);
}

Expand Down

0 comments on commit ca7c2b6

Please sign in to comment.