Replies: 1 comment
-
I think I posted it in the wrong place and moved it to issues. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am trying to authenticate using has_secure_password, but when I send a payload as shown below, I cannot access the password field.
My parameter configuration is as follows
The parameters handled in the "user" object in the Rails log appear like this.
As you can see, there is no "password" in the "user" object. And I get a validation error because 'password' is not returned from the user params method.
It works this way, but I do not want to send the payload inside the user object.
How can I solve this problem?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions