-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot override json response of authenticate_user! #575
Comments
Hi, any progress on this? thanks |
+1 |
1 similar comment
+1 |
You can overwrite this method for selected resource in controller that includes DeviseTokenAuth::Concerns::SetUserByToken. For example:
|
nice! that do the work |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I am making a REST API server. I have overridden all devise_token_auth resposes.
The only one I can't override is from authenticate_user!
Looking the code, I saw that this function come from devise_token_auth/lib/devise_token_auth/controllers/helpers.rb (Line 32) and the response is did direcly from that code.
Is there any way to override this?
Thanks
The text was updated successfully, but these errors were encountered: