Bug #9010
closedCaptive Portal Unable to logout
0%
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".
      
      Updated by Inder P. MEEL about 7 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;
}
      
      Updated by A FL about 7 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.
      
      Updated by Jim Pingle about 7 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 (
) 
      
      Updated by Renato Botelho about 7 years ago
      
    
    - Status changed from New to Feedback
 - Assignee set to Renato Botelho
 
PR merged
      
      Updated by A FL almost 7 years ago
      
    
    Seems good to me. This issue be marked as resolved.
      
      Updated by Renato Botelho almost 7 years ago
      
    
    - Status changed from Feedback to Resolved