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

undefined method `authenticate!' for #<RailsJwtAuth::SessionsController:0x000000012ec68f98> #113

Closed
JonnalagaddaDevi opened this issue Mar 30, 2021 · 2 comments

Comments

@JonnalagaddaDevi
Copy link

JonnalagaddaDevi commented Mar 30, 2021

Add the below statement in sessions contoller, profiles controller (in whichever controller authentication is required)

  include AuthenticableHelper

While doing sign out, it checks authentication, at that time missed including authenticable helper

and In the documentation you have given the following URL for reset password

url: host/passwords/:token

but it must be

url: host/reset_passwords/:token

@rjurado01
Copy link
Owner

Thanks, I have updated README.

I will check the include when I have a time.

@rjurado01
Copy link
Owner

Fixed on v2.0.3

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

2 participants