Skip to content

Commit

Permalink
MID-2766 Credentials page, bugs fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
KaterynaHonchar committed Apr 11, 2016
1 parent 382eb17 commit bf2e0e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Expand Up @@ -271,7 +271,7 @@ protected void onSubmit(AjaxRequestTarget target, Form<?> form) {
}

private PasswordAccountDto createDefaultPasswordAccountDto(PrismObject<UserType> user) {
return new PasswordAccountDto(user.getOid(), user.getName().getNorm(),
return new PasswordAccountDto(user.getOid(), user.getName().getOrig(),
getString("PageSelfCredentials.resourceMidpoint"), WebComponentUtil.isActivationEnabled(user), true);
}

Expand Down
Expand Up @@ -23,9 +23,10 @@
<div class="form-control-static" wicket:id="confirmPasswordLabel"/>
</div>
<div class="col-md-3">
<div class="col-md-11">
<input class="form-control input-sm" style="margin-bottom: 5px;" type="password" autocomplete="off"
wicket:id="oldPassword" autofocus/>

</div>
<div wicket:id="passwordPanel"/>
</div>
</div>
Expand Down

0 comments on commit bf2e0e1

Please sign in to comment.