redirection enhancement (?) on bad password/username


  -----  
Author Message

philip
Member

Fri Apr 07, 2006 2:56 am   Post subject: redirection enhancement (?) on bad password/username
Great mod Thoul! I was able to get the login/logout mod working immediately with "outside" redirects, but I noticed that when I enter a bad username or password that the redirect gets lost.

Specifically, I have an "outside" login page (e.g. /myhome.php). When I log in with a bad password, I am successfully sent to the /phpBB2/login.php page, requesting me to reenter the login info. I do so, but instead of sending me back to /myhome.php, I am instead sent to /phpBB2/index.php. After some playing around with the code, I noticed that this is because the "outside" url parameter is not carried through to the login page in the case of a bad password, inactive user or wrong user name. By adding this parameter, it successfully redirects me to /myhome.php after I enter the correct login info.

I would appreciate your feedback on this issue/fix.

Thanks,
Philip
 

Thoul
Administrator

Fri Apr 07, 2006 2:19 pm   Post subject: re: redirection enhancement (?) on bad password/username
That sounds like the perfect fix for this issue. I'm glad you were able to work it out, and thanks for sharing it with us.

Thanks. Smile
 

Page 1 of 1
Display posts from previous: