Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

[Question] Modeling user password #11

Open
nicodelpiano opened this issue Sep 26, 2019 · 0 comments
Open

[Question] Modeling user password #11

nicodelpiano opened this issue Sep 26, 2019 · 0 comments

Comments

@nicodelpiano
Copy link

nicodelpiano commented Sep 26, 2019

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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant