Ignore:
Timestamp:
11/29/08 11:47:50 (3 years ago)
Author:
WanWizard
Message:

fixed display of a login panel with http even when ssl was set as required

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/user_info_panel/user_info_panel.php

    r2060 r2079  
    111111$variables['show_passlink'] = 1; 
    112112 
     113// can we show the login panel? 
     114$variables['show_login'] = $settings['auth_ssl'] == 0 || ( isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == "on" ); 
     115if (!iMEMBER && !$variables['show_login']) $no_panel_displayed = true; 
     116 
    113117$template_variables['modules.user_info_panel'] = $variables; 
    114118?> 
Note: See TracChangeset for help on using the changeset viewer.