diff options
author | z0rglub <z0rglub@piwigo.org> | 2004-10-06 22:48:48 +0000 |
---|---|---|
committer | z0rglub <z0rglub@piwigo.org> | 2004-10-06 22:48:48 +0000 |
commit | 11699a554688e1215bae9c550a5a67c15cdb8f36 (patch) | |
tree | d1e23ac0f904d651df37ee8a349415a888f94383 /admin/configuration.php | |
parent | 944fb4856ed687de9f525d3d515d6f7b2287bb69 (diff) |
- 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
git-svn-id: http://piwigo.org/svn/trunk@555 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/configuration.php')
-rw-r--r-- | admin/configuration.php | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/admin/configuration.php b/admin/configuration.php index 1c8c206f0..36e52c500 100644 --- a/admin/configuration.php +++ b/admin/configuration.php @@ -154,8 +154,6 @@ $template->assign_vars( 'L_NO'=>$lang['no'], 'L_SUBMIT'=>$lang['submit'], 'L_RESET'=>$lang['reset'], - 'L_URI'=>$lang['URI'], - 'L_COOKIE'=>$lang['cookie'], 'F_ACTION'=>add_session_id($action) )); @@ -304,9 +302,6 @@ switch ($page['section']) } case 'session' : { - $auth_method_URI = ($conf['auth_method']=='URI')?'checked="checked"':''; - $auth_method_cookie = - ($conf['auth_method']=='cookie')?'checked="checked"':''; $authorize_remembering_yes = ($conf['authorize_remembering']=='true')?'checked="checked"':''; $authorize_remembering_no = @@ -316,14 +311,10 @@ switch ($page['section']) 'session', array( 'L_CONF_TITLE'=>$lang['conf_session_title'], - 'L_CONF_AUTH_METHOD'=>$lang['conf_auth_method'], - 'L_CONF_AUTH_METHOD_INFO'=>$lang['conf_auth_method_info'], 'L_CONF_AUTHORIZE_REMEMBERING'=>$lang['conf_authorize_remembering'], 'L_CONF_AUTHORIZE_REMEMBERING_INFO' => $lang['conf_authorize_remembering_info'], - 'AUTH_METHOD_URI'=>$auth_method_URI, - 'AUTH_METHOD_COOKIE'=>$auth_method_cookie, 'AUTHORIZE_REMEMBERING_YES'=>$authorize_remembering_yes, 'AUTHORIZE_REMEMBERING_NO'=>$authorize_remembering_no )); |