-
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
undefined method `tokens' for #<Hash:0x000000063f0920> #297
Comments
Just cloned |
It works only on |
@adisos - are you still experiencing this issue? I'm currently unable to reproduce. Please try testing against the latest devise_token_auth 0.0.32 (and ng-token-auth 0.0.27 if you're using it) |
I have the same problem with version 0.1.36. It only works for the first time when I start the server and use token to authenticate. From the second time on, it will raise this exception. But it can work will with version 0.1.32.beta9 |
even I am facing the exact same issue |
This part is triggering this exception, because
warden.user(rc.to_s.underscore.to_sym)
returns hash, not User object. What should I do?https://github.com/lynndylanhurley/devise_token_auth/blob/master/app/controllers/devise_token_auth/concerns/set_user_by_token.rb#L32
The text was updated successfully, but these errors were encountered: