Project

General

Profile

Bug #9010

Captive Portal Unable to logout

Added by Ming-Chang Cheng over 2 years ago. Updated over 2 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:
Default
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".

History

#1 Updated by Inder P. MEEL over 2 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;
}

#2 Updated by A FL over 2 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.

#3 Updated by Jim Pingle over 2 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 ()

#4 Updated by Renato Botelho over 2 years ago

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

PR merged

#5 Updated by A FL over 2 years ago

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

#6 Updated by Renato Botelho over 2 years ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF