Click a link to some page and i am not logged in, after i login redirect to the page
Is this possible, if yes how can i enable the feature. If need to code, any suggestions ? please let me know.
Ex: I click on any link on dashboard - it will direct me to login/ page if not already logged in.
so once I login, the login controller method should redirect to appropriate page which I originally clicked on dashboard.
Thanks
Sid
Comments
I am willing to fix it, but need guidance as to how it is supported in fuelcms.
Thanks
The pass forward when logging in sets a redirect in fuel's login controller, index method around line 91 - 94.
The check to stop you going there and sending you back to the login page in the first place is in the fuel module/libraries/FUEL_base_controller.php _check_login() method.