Enforce password complexity rules on new account password change

This commit is contained in:
snipe 2017-08-22 22:41:35 -07:00
parent 2958630923
commit 57f4c986af

View file

@ -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',
); );