Closed ghost closed 4 years ago
Open the $this->passwordRules()
and you will see ['required', 'string', new Password, 'confirmed']
.
Just extract it to your validation, replace the $this->passwordRules()
with it, and remove the confirmed
rule.
Thank you @ibrunotome not sure how I missed that.
@ibrunotome is it required for me to extract it or can I not just alter the trait or is it best practice to use this instead ['required', 'string', new Password, 'confirmed']
The trait is used in a lot of places, so you're right, update the trait will be better.
Thank you @ibrunotome
Good day,
I am using Laravel 8 Jetstream with Livewire stack and pondering on how to remove the password confirmation on the register page can anyone assist?
I have removed the below:
But the
CreateNewUser.php
only contains:There is no
confirmed
will I need to to tweak something within thefortify
config file