new: display dynamic password rules checklist on registration and profile edit
Each rule (length, lowercase, uppercase, number, special character) shows a live check/cross icon as the user types. Also aligns ``handlePasswordChange`` server-side validation with the boilerplate ``Password`` rule (was only enforcing min 8 chars).
This commit is contained in:
@@ -11,10 +11,12 @@
|
||||
<label>Mot de passe *</label>
|
||||
{{ Form::password('password', [
|
||||
'class' => 'form-control',
|
||||
'id' => 'password',
|
||||
'placeholder' => __('boilerplate::auth.fields.password'),
|
||||
'required',
|
||||
]) }}
|
||||
{!! $errors->registration->first('password', '<p class="text-danger"><strong>:message</strong></p>') !!}
|
||||
@include('Shop.auth.partials.password_rules', ['passwordInputId' => 'password'])
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-6">
|
||||
|
||||
Reference in New Issue
Block a user