Skip to content

Commit

Permalink
Merge pull request #57 from weni-ai/feature/generic-error-on-password…
Browse files Browse the repository at this point in the history
…-update

feat: showed generic error for update password
  • Loading branch information
nataliaweni authored Mar 3, 2023
2 parents ec1c053 + 9452521 commit dccac63
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions themes/ilhasoft/login/login-update-password.ftl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<#import "template.ftl" as layout>
<@layout.registrationLayout displayInfo=true displayHeader=false displaySocial=false; section>
<@layout.registrationLayout displayInfo=true displaySocial=false; section>
<#if section = "form">
<img class="brand-password" src="${url.resourcesPath}/img/login/brand.svg" >
<div class="update-password-title">
Expand All @@ -24,8 +24,9 @@
<#-- this is with password -->
<div class="${properties.kcInputMessageClass!}"> ${messagesPerField.get('password')} </div>

<#-- this is with passwordNew -->
<div class="${properties.kcInputMessageClass!}"> ${messagesPerField.get('password-new')} </div>
<#if message?has_content && message.type = 'error'>
<div class="${properties.kcInputMessageClass!}">${kcSanitize(message.summary)?no_esc}</div>
</#if>
</div>
</div>

Expand Down

0 comments on commit dccac63

Please sign in to comment.