Ignore:
Timestamp:
11/29/08 11:48:04 (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
  • modules/common/login_panel/php-files/modules/login_panel/login_panel.php

    r2043 r2080  
    5959$variables['show_passlink'] = 1; 
    6060 
     61// can we show the login panel? 
     62$variables['show_login'] = $settings['auth_ssl'] == 0 || ( isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == "on" ); 
     63if (!iMEMBER && !$variables['show_login']) $no_panel_displayed = true; 
     64 
    6165$template_variables['modules.login_panel'] = $variables; 
    6266?> 
Note: See TracChangeset for help on using the changeset viewer.