Strange Login Issue - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Strange Login Issue (/showthread.php?tid=63829) |
Strange Login Issue - wolfgang1983 - 12-13-2015 If my when I login on my HMVC login controller. It checks a couple of callbacks. And then it throws the suitable error message belong to that callback. One thing I have noticed if I refresh the page it logs in any way it does not stop user from login to dashboard not sure why? Any suggestion why I can refresh page then logins in direct? Note: I am thinking because I have not unset the user id in login controller so there for may redirect would that be correct? PHP Code: <?php RE: Strange Login Issue - skunkbad - 12-13-2015 Unless it's your intention to build another authentication system for CI and spend hundreds of hours working out the details, you should just use somebody elses. I built one, and know from experience that I could have spent all that time doing something else. I made Community Auth. If you don't like it there is also Ion Auth, and maybe some others. |