Where does user.credentials come from? #311
-
Hi, thanks for the library, in the registration part, the readme references user.credentials, but in my code user.credentials doesn't exist, do you have to modify your user model? Using mongo if it helps. Thanks for any assistance, |
Beta Was this translation helpful? Give feedback.
Answered by
grzuy
May 10, 2020
Replies: 1 comment
-
Hi @kevinchugh , Yes. Here is an example ( Sorry the README is a bit vague about that. Thanks. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
santiagorodriguez96
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @kevinchugh ,
Yes.
Here is an example (
webauthn-rails-demo-app
) of what a Rails app would need to add to their schema when using relational db.Sorry the README is a bit vague about that.
We definitely could improve the docs by giving more explicit instructions about it.
Thanks.