password is a required field
Closes #33967 Signed-off-by: Patrick Kuijvenhoven <patrick.kuijvenhoven@gmail.com>
This commit is contained in:
parent
a8a5c96510
commit
25405d15e0
1 changed files with 2 additions and 2 deletions
|
@ -17,8 +17,8 @@
|
|||
<#if callback = "afterField">
|
||||
<#-- render password fields just under the username or email (if used as username) -->
|
||||
<#if passwordRequired?? && (attribute.name == 'username' || (attribute.name == 'email' && realm.registrationEmailAsUsername))>
|
||||
<@field.password name="password" label=msg("password") autocomplete="new-password" />
|
||||
<@field.password name="password-confirm" label=msg("passwordConfirm") autocomplete="new-password" />
|
||||
<@field.password name="password" required=true label=msg("password") autocomplete="new-password" />
|
||||
<@field.password name="password-confirm" required=true label=msg("passwordConfirm") autocomplete="new-password" />
|
||||
</#if>
|
||||
</#if>
|
||||
</@userProfileCommons.userProfileFormFields>
|
||||
|
|
Loading…
Reference in a new issue