Consistent in minimum password length

This commit is contained in:
James Cole
2020-04-11 06:42:40 +02:00
parent 6829003f5e
commit db5847b49b
5 changed files with 5 additions and 101 deletions

View File

@@ -50,7 +50,7 @@ class ProfileFormRequest extends Request
// fixed
return [
'current_password' => 'required',
'new_password' => 'required|confirmed|secure_password',
'new_password' => 'required|confirmed|secure_password|min:16',
'new_password_confirmation' => 'required',
];
}