Project

General

Profile

Actions

Bug #1679

closed

Login redirect issue

Added by Andreas Böhm almost 13 years ago. Updated almost 9 years ago.

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 :)

Actions #1

Updated by Andreas Böhm almost 13 years ago

Note:

This fix keeps the redirect for non privileged users active.

Actions #2

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 #3

Updated by Ermal Luçi over 9 years ago

  • Status changed from New to Rejected
Actions #4

Updated by Chris Buechler almost 9 years ago

  • Target version deleted (Future)
Actions

Also available in: Atom PDF