mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -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(
|
$rules = array(
|
||||||
'current_password' => 'required',
|
'current_password' => 'required',
|
||||||
'password' => 'required|min:6',
|
'password' => Setting::passwordComplexityRulesSaving('store'),
|
||||||
'password_confirm' => 'required|same:password',
|
'password_confirm' => 'required|same:password',
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue