Closed emmanuelrdl closed 4 years ago
Hello,
Thank you for your great Gem. I am facing an issue with it. I would like to use exception as fallback (to render à 401 error). But it seems that thefallback! method is called even if the token_correct? is true -> code
fallback!
token_correct?
I might miss something. Thank you for you help
Found the answer by myself. I had a current_user method already defined in my ApplicationController.
current_user
Thanks
Hello,
Thank you for your great Gem. I am facing an issue with it. I would like to use exception as fallback (to render à 401 error). But it seems that the
fallback!
method is called even if thetoken_correct?
is true -> codeI might miss something. Thank you for you help