redirect back after login #241
Unanswered
Halvanhelv
asked this question in
Q&A
Replies: 1 comment 2 replies
-
I kind of gave up trying to make Rodauth return to the original page when it didn't require authentication, meaning when the user visited the login page directly. I'm not sure even Devise handles this scenario. But I will take a closer look why the code above stops returning to pages that required authentication. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! I used the settings to automatically redirect to past page and it works well for pages requiring authorization but for open pages it doesn't work http://rodauth.jeremyevans.net/rdoc/files/doc/guides/login_return_rdoc.html
then I did
and now the redirect works for open pages but not for authorized pages. how can I make the code work in both cases?
or what other approach should I take? Thanks
Beta Was this translation helpful? Give feedback.
All reactions