Skip to content

Commit

Permalink
Merge pull request #140 from Codencode/fix-35410
Browse files Browse the repository at this point in the history
Fix: The new password policy is not present in the reset password
  • Loading branch information
Hlavtox authored Feb 26, 2024
2 parents 9a794b8 + a4caf6a commit efb5fa7
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions templates/customer/password-new.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,20 @@
sprintf=['%email%' => $customer_email|stripslashes]}
</div>

<div class="container-fluid">
<div class="container-fluid field-password-policy">
<div class="row form-group">
<label class="form-control-label col-md-3 offset-md-2">{l s='New password' d='Shop.Forms.Labels'}</label>
<div class="col-md-4">
<input class="form-control" type="password" data-validate="isPasswd" name="passwd" value="">
<div class="col-md-4 js-input-column">
<input
class="form-control"
type="password"
data-validate="isPasswd"
name="passwd"
value=""
{if isset($configuration.password_policy.minimum_length)}data-minlength="{$configuration.password_policy.minimum_length}"{/if}
{if isset($configuration.password_policy.maximum_length)}data-maxlength="{$configuration.password_policy.maximum_length}"{/if}
{if isset($configuration.password_policy.minimum_score)}data-minscore="{$configuration.password_policy.minimum_score}"{/if}
>
</div>
</div>

Expand Down

0 comments on commit efb5fa7

Please sign in to comment.