Replies: 1 comment
-
Ops I see it is duplicated idea after add it |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Any Ideas to let shield redirect the user to the entrance page that he visited before asking him to login ? instead of redirect him to the main page.
for example:
if the user visits http://exampe..com/view/tickets
and he was not logged in and that controller needs login so shield will ask the user to login and after successful login shield by default will redirect the user to $redirects->login variable value from app/Config/Auth.php which is / (e.g)
so if we want to redirect the user after login to the page that he visited first time which is (http://exampe..com/view/tickets in this example)
we know that there is $redirects in app/Config/Auth.php file which is
but this will redirect the user to / when he login . and not to base_url() before he redirects to login page to log in.
any ideas how to do that?
Beta Was this translation helpful? Give feedback.
All reactions