This commit is contained in:
Miguel Nogueira 2021-01-06 03:25:19 +00:00
parent d1142d3e0c
commit 42868be96e
Signed by: miguel456
GPG Key ID: 2CF61B825316C6A0

View File

@ -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, [