Skip to content

Commit

Permalink
Merge pull request #55 from weni-ai/feature/style-to-password-errors
Browse files Browse the repository at this point in the history
feat: added style to password errors
  • Loading branch information
cristiantela authored Mar 3, 2023
2 parents 330c9dc + e4e5218 commit bdbb358
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions themes/ilhasoft/login/login-update-password.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@
/>
<span class="icon icon-input icon-left icon-lock-2-1"></span>
<span id="password-icon" onclick="togglePassword('password-icon', 'password-new')" class="icon icon-clickable icon-input icon-right icon-view-1-1"></span>

<#-- this is with password -->
<div class="${properties.kcInputMessageClass!}"> ${messagesPerField.get('password')} </div>

<span id="input-error-password" class="${properties.kcInputErrorMessageClass!}" aria-live="polite">
${kcSanitize(messagesPerField.get('password'))?no_esc}
</span>
<#-- this is with passwordNew -->
<div class="${properties.kcInputMessageClass!}"> ${messagesPerField.get('passwordNew')} </div>
</div>
</div>

Expand All @@ -39,9 +41,7 @@
<span class="icon icon-input icon-left icon-lock-2-1"></span>
<span id="password-icon-new" onclick="togglePassword('password-icon-new', 'new-password')" class="icon icon-clickable icon-input icon-right icon-view-1-1"></span>

<span id="input-error-password-confirm" class="${properties.kcInputErrorMessageClass!}" aria-live="polite">
${kcSanitize(messagesPerField.get('password-confirm'))?no_esc}
</span>
<div class="${properties.kcInputMessageClass!}"> ${messagesPerField.get('password-confirm')} </div>
</div>
</div>

Expand Down

0 comments on commit bdbb358

Please sign in to comment.