Actions
Bug #1679
closedLogin redirect issue
Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Web Interface
Target version:
-
Start date:
07/14/2011
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.0
Affected Architecture:
Description
1. Login and go to the captive portal status page (URL: http://your-pfsense-box.org/status_captiveportal.php)
2. Wait for your session to expire
3. Reload the page (URL: http://your-pfsense-box.org/status_captiveportal.php) and you´ll see the login form
4. Login and you´ll be redirected to the main page (URL: http://your-pfsense-box.org)
Fix:
In the file authgui.inc in /etc/inc add this $page = basename($_SERVER["SCRIPT_FILENAME"]);
line after include("priv.inc");
Now you´ll stay on the page on which you logged in :)
Updated by Andreas Böhm almost 13 years ago
Note:
This fix keeps the redirect for non privileged users active.
Updated by Ermal Luçi almost 13 years ago
- Target version changed from 2.0 to Future
There was a reason of removing automatic redirection.
Mostly was because of automatic posting that could break things in unwanted ways.
Actions