Project

General

Profile

Actions

Bug #9010

closed

Captive Portal Unable to logout

Added by Ming-Chang Cheng about 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
Captive Portal
Target version:
Start date:
10/05/2018
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.4
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".

Actions #1

Updated by Inder P. MEEL about 3 years ago

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;
}
Actions #2

Updated by A FL about 3 years ago

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.

Actions #3

Updated by Jim Pingle about 3 years ago

  • 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 ()
Actions #4

Updated by Renato Botelho about 3 years ago

  • Status changed from New to Feedback
  • Assignee set to Renato Botelho

PR merged

Actions #5

Updated by A FL about 3 years ago

Seems good to me. This issue be marked as resolved.

Actions #6

Updated by Renato Botelho about 3 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF