Here is the error, i need it to be min:4 characters not 6 and i can't find the file to change it.
You can found the function validator
in Auth/RegisterController.php
/**
* Get a validator for an incoming registration request.
*
* @param array $data
* @return \Illuminate\Contracts\Validation\Validator
*/
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'],
]);
}
You need to change the validator rules.
Take time to look this Link
Hope this help you
This is not authentication but registration which the panel title already says, and the validation is in an obvious place called RegisterController
. So take a look at the validator
function and you will find the gift :)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.