Don't have a portfolio? Create one in our new workshop using React!
Join our free community Discord server here!
Learn React with us!
Get job-ready with our Career Toolbox Track's career advice, resume tips, and more 🧰
🤖 Check out all our AI content here 👀
Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
The User model validation is almost complete. In this step, we'll write the validation for the user password confirmation. This will be a required attribute (or field) that checks if its value matches the password field's value.
If the values match, we'll protect the password by hashing it with the bcrypt library before creating the database's new user record. If the values do not match, w...