From 57f4c986af5b79c900c084731088bdb3a858a4fc Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 22 Aug 2017 22:41:35 -0700 Subject: [PATCH] Enforce password complexity rules on new account password change --- app/Http/Controllers/ProfileController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/ProfileController.php b/app/Http/Controllers/ProfileController.php index 1ad35bd136..4554b0fea3 100755 --- a/app/Http/Controllers/ProfileController.php +++ b/app/Http/Controllers/ProfileController.php @@ -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', );