Show current pw policy in register page
Also adds a warning for when pw policy is set to off
This commit is contained in:
@@ -94,7 +94,7 @@ class RegisterController extends Controller
|
||||
break;
|
||||
|
||||
case 'medium':
|
||||
$password = ['required', 'string', 'confirmed', 'regex:/^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[#?!@$%^&*-]).{10,}$/'];
|
||||
$password = ['required', 'string', 'confirmed', 'regex:/^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[#?!@$%^&*-]).{12,}$/'];
|
||||
break;
|
||||
|
||||
case 'high':
|
||||
|
Reference in New Issue
Block a user