PHP
Workaround for password confirmation with Laravel & Ardent
1 minutes
While I was working on a website made with Laravel and Ardent I had to validate a password confirmation field for a user registration. This will not work if you follow the standard documentation. This is how your validation rules in your Ardent model should look like (users only have an email address and a password):