Merge pull request #4794 from jakebathman/change-password-min-length-to-8

[5.8] Change password min length to 8
This commit is contained in:
Taylor Otwell 2018-10-05 14:23:33 -05:00 committed by GitHub
commit 1cb18d11ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ protected function validator(array $data)
return Validator::make($data, [
'name' => 'required|string|max:255',
'email' => 'required|string|email|max:255|unique:users',
'password' => 'required|string|min:6|confirmed',
'password' => 'required|string|min:8|confirmed',
]);
}

View File

@ -13,7 +13,7 @@
|
*/
'password' => 'Passwords must be at least six characters and match the confirmation.',
'password' => 'Passwords must be at least eight characters and match the confirmation.',
'reset' => 'Your password has been reset!',
'sent' => 'We have e-mailed your password reset link!',
'token' => 'This password reset token is invalid.',