Skip to content
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

NoMethodError (undefined method `headers_names' for DeviseTokenAuth:Module) #684

Closed
neilhanekom opened this issue Jul 25, 2016 · 1 comment

Comments

@neilhanekom
Copy link

After Succesfull Email Authentication Confirmation I get and a 302 redirect requestand it goes to back to sign_up route with a account_confirmation_success as true. Which is following the Email registration flow as described in ng-token_auth docs. However when it comes to built_auth_header method in the user.rb file under conerns, I get the following:

**

NoMethodError (undefined method headers_names' for DeviseTokenAuth:Module): app/models/devise_token_auth/concerns/user.rb:200:inbuild_auth_header'
app/models/devise_token_auth/concerns/user.rb:180:in `create_new_auth_token'

**

Why would this happen.??

@neilhanekom
Copy link
Author

This error happens when using version 0.1.37. I have updated to version 0.1.38 and all seems to be working now.

Closing Issue.

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

No branches or pull requests

1 participant