authrecipe icon indicating copy to clipboard operation
authrecipe copied to clipboard

[Question] Modeling user password

Open nicodelpiano opened this issue 5 years ago • 0 comments

Hello,

I'm trying to follow your guide for authentication and I have a question regarding using the Password and PasswordConfirmation fields of the User model.

What's the proper way to model these two fields? If I use them with json: "-" as the recipe states, I'm not able to bind them to the user model in the creation action (they're always empty), and thus validations can't be performed. Is there anything else I should take into account here?

Thanks!

nicodelpiano avatar Sep 26 '19 03:09 nicodelpiano