mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
Enforce password complexity rules on new account password change
This commit is contained in:
parent
2958630923
commit
57f4c986af
|
@ -119,7 +119,7 @@ class ProfileController extends Controller
|
|||
|
||||
$rules = array(
|
||||
'current_password' => 'required',
|
||||
'password' => 'required|min:6',
|
||||
'password' => Setting::passwordComplexityRulesSaving('store'),
|
||||
'password_confirm' => 'required|same:password',
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue