Ignore:
Timestamp:
Oct 7, 2004, 12:48:48 AM (20 years ago)
Author:
z0rglub
Message:
  • checkbox for "remember me" are only shown if authorized
  • simplification : each session is created with a cookie and if PhpWebGallery can't read the cookie, it uses the URI id and it will be used in the add_session_id function.
  • configuration parameter "auth_method" disappeared (didn't lived much...)
  • only one session id size possible. More comments for configuration in include/config.inc.php
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/configuration.php

    r541 r555  
    155155    'L_SUBMIT'=>$lang['submit'],
    156156    'L_RESET'=>$lang['reset'],
    157     'L_URI'=>$lang['URI'],
    158     'L_COOKIE'=>$lang['cookie'],
    159157   
    160158    'F_ACTION'=>add_session_id($action)
     
    305303  case 'session' :
    306304  {
    307     $auth_method_URI = ($conf['auth_method']=='URI')?'checked="checked"':'';
    308     $auth_method_cookie =
    309       ($conf['auth_method']=='cookie')?'checked="checked"':'';
    310305    $authorize_remembering_yes =
    311306      ($conf['authorize_remembering']=='true')?'checked="checked"':'';
     
    317312      array(
    318313        'L_CONF_TITLE'=>$lang['conf_session_title'],
    319         'L_CONF_AUTH_METHOD'=>$lang['conf_auth_method'],
    320         'L_CONF_AUTH_METHOD_INFO'=>$lang['conf_auth_method_info'],
    321314        'L_CONF_AUTHORIZE_REMEMBERING'=>$lang['conf_authorize_remembering'],
    322315        'L_CONF_AUTHORIZE_REMEMBERING_INFO' =>
    323316        $lang['conf_authorize_remembering_info'],
    324317
    325         'AUTH_METHOD_URI'=>$auth_method_URI,
    326         'AUTH_METHOD_COOKIE'=>$auth_method_cookie,
    327318        'AUTHORIZE_REMEMBERING_YES'=>$authorize_remembering_yes,
    328319        'AUTHORIZE_REMEMBERING_NO'=>$authorize_remembering_no
Note: See TracChangeset for help on using the changeset viewer.