That would require front side validation. This is server side validation, so its making sure the person actually entered the correct password twice, as a 'confirmation'.
People can completely bypass anything you do on the front side.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.