Bug #9010
closed
Captive Portal Unable to logout
Added by Ming-Chang Cheng almost 6 years ago.
Updated almost 6 years ago.
Affected Architecture:
All
Description
Version pfsense 2.4.4-RELEASE (amd64)
I have configured captive portal with radius server. Enabled "Logout popup window" on captive portal.
User unable to logout by clicking "Logout" button on pop-up window. Clicking "Logout" button displaying message "You are connected".
Ming-Chang Cheng wrote:
Version pfsense 2.4.4-RELEASE (amd64)
I have configured captive portal with radius server. Enabled "Logout popup window" on captive portal.
User unable to logout by clicking "Logout" button on pop-up window. Clicking "Logout" button displaying message "You are connected".
-----
I resolved it by deleted following code from /usr/local/captiveportal/index.php
elseif (!empty($cpsession)) {
/*If someone try to access captive portal page while already connected*/
echo gettext("You are connected.");
ob_flush();
return;
}
This bug only affects the logout popup and not custom logout pages. I committed a fix: https://github.com/pfsense/pfsense/pull/3996
However, I would recommend using custom logout pages as pop-up are now blocked by most web browsers.
- Category set to Captive Portal
- Target version set to 2.4.4-p1
- Affected Version set to 2.4.4
- Affected Architecture All added
- Affected Architecture deleted (
)
- Status changed from New to Feedback
- Assignee set to Renato Botelho
Seems good to me. This issue be marked as resolved.
- Status changed from Feedback to Resolved
Also available in: Atom
PDF