Why is mysite.com/user = mysite.com/user/user/login_process after bad login? - 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: Why is mysite.com/user = mysite.com/user/user/login_process after bad login? (/showthread.php?tid=43618) |
Why is mysite.com/user = mysite.com/user/user/login_process after bad login? - El Forum - 07-18-2011 [eluser]Anna_FL[/eluser] Hi all, Greatly appreicate any help. EDIT: Using this from the Userguide as my .htaccess: Code: RewriteEngine on I have a User controller that has a login form. After a "bad" login, I'm being redirected to my "login_process" function in the User controller but with this as the URL: mysite.com/user/user/login_process I've tried a failed login to "else" with different redirect URIs (slash, no slash, etc.) and now trying $this->index. None seem to work, it keeps adding the "/user/login_process" to my URL and I want it just to go back to the login form. I'm also not getting any form_validation errors no matter how much I post the <?php echo validation_errors(); ?> in the form view. Code: <?php class User extends CI_Controller { |