CodeIgniter Forums
Redux Auth: How do you redirect after login? [SOLVED] - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Redux Auth: How do you redirect after login? [SOLVED] (/showthread.php?tid=13291)



Redux Auth: How do you redirect after login? [SOLVED] - El Forum - 11-17-2008

[eluser]dallen33[/eluser]
If a user logs in and they are in group 2, how do I send them to a particular page? I'm just confused about this. I thought I'd do it here:
Code:
switch ($redux)
            {
                case 'NOT_ACTIVATED':
                    # code...
                    break;
                case 'BANNED':
                    # code...
                    break;
                case false:
                    # code...
                    break;
                case true:
                    # code...
                    break;
            }
But everything I try doesn't seem to work. I'm obviously new. Tongue


Redux Auth: How do you redirect after login? [SOLVED] - El Forum - 11-17-2008

[eluser]dallen33[/eluser]
Sorry, I'm stupid. I figured out what to do based on another post.