Validate password on reset according to rules (#158)

* move password rules to Models\User::PASSWORD_RULES

* validate new password according to rules on password reset

* add password requirements info to auth.passwords.reset view
This commit is contained in:
Jakob 2016-10-30 21:02:39 +01:00 committed by Dane Everitt
parent 9d69f47ade
commit e65dc5708d
4 changed files with 17 additions and 1 deletions

View file

@ -55,6 +55,7 @@
<strong>{{ $errors->first('password') }}</strong>
</span>
@endif
<p class="text-muted"><small>{{ trans('base.password_req') }}</small></p>
</div>
</div>
<div class="form-group">