Skip to content

Commit

Permalink
Always remove password value tag.
Browse files Browse the repository at this point in the history
Signed-off-by: Tony Tkacik <tony.tkacik@evolveum.com>
  • Loading branch information
tonydamage committed Jan 16, 2023
1 parent bb5fb68 commit 3ad0d06
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ protected void onInitialize() {
}

private <F extends FocusType> void initLayout(PrismObject<F> object) {
setOutputMarkupId(true);
setOutputMarkupId(true);

final WebMarkupContainer inputContainer = new WebMarkupContainer(ID_INPUT_CONTAINER);
inputContainer.add(new VisibleBehaviour(() -> passwordInputVisible));
Expand Down Expand Up @@ -142,9 +142,7 @@ protected List<StringLimitationResult> load() {
@Override
protected void onComponentTag(ComponentTag tag) {
super.onComponentTag(tag);
if (clearPasswordInput) {
tag.remove("value");
}
tag.remove("value");
}

};
Expand Down

0 comments on commit 3ad0d06

Please sign in to comment.