gobuffalo/authrecipe

[Question] Modeling user password

Opened this issue · 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!