Fix
This commit is contained in:
parent
d1142d3e0c
commit
42868be96e
|
@ -98,7 +98,7 @@ class RegisterController extends Controller
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'high':
|
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, [
|
return Validator::make($data, [
|
||||||
|
|
Loading…
Reference in New Issue