From 42868be96e1d386d512049b5734684f9d4bd22ff Mon Sep 17 00:00:00 2001 From: Miguel N Date: Wed, 6 Jan 2021 03:25:19 +0000 Subject: [PATCH] Fix --- app/Http/Controllers/Auth/RegisterController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Auth/RegisterController.php b/app/Http/Controllers/Auth/RegisterController.php index 9d9ac30..8e8c0cd 100755 --- a/app/Http/Controllers/Auth/RegisterController.php +++ b/app/Http/Controllers/Auth/RegisterController.php @@ -98,7 +98,7 @@ class RegisterController extends Controller break; case 'high': - $password = ['required', 'string', 'confirmed', 'regex:/^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[#?!@$%^&*-]).{20,}$/'] + $password = ['required', 'string', 'confirmed', 'regex:/^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[#?!@$%^&*-]).{20,}$/']; } return Validator::make($data, [