Level 73
Open up RegisterController which you can find within App\Http\Controllers\Auth and change this line:
'password' => 'required|string|min:8|confirmed',
you see the min:8 rule there.
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
How can i change the minimum characters for registering a password in laravel , the default in 8 chars.
Thanks for help
Open up RegisterController which you can find within App\Http\Controllers\Auth and change this line:
'password' => 'required|string|min:8|confirmed',
you see the min:8 rule there.
Please or to participate in this conversation.