Myth:Auth redirecting does not work |
hi i installed myth:auth library . every thing works but when i go to login page after i successfully logged in it should redirec me to the root uri and not showing the login form ?
is it a bug or it is something that i have to implement , some times it works sometimes it does not !!!
[quote pid="389194" dateline="1628427049"]
use filter to redirect to anothor ctl https://codeigniter4.github.io/userguide...lters.html [/quote]
Enlightenment Is Freedom
you can force redirect at AuthController.php
look at => function attemptLogin()
For any of the Auth systems out there you should use a filter to redirect to another controller.
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
(08-08-2021, 10:55 AM)paliz Wrote: [quote pid="389194" dateline="1628427049"] [/quote] i just want to know if this is normal or should i make it by my self
It will go back to the page that called it like home.
Or use a named route and route_to What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |