mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-17 23:22:56 +02:00
Improve security of sessions:
- use only cookies to store session id on client side - use default php session system with database handler to store sessions on server side git-svn-id: http://piwigo.org/svn/trunk@1004 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -133,11 +133,9 @@ $template->assign_vars(
|
||||
'L_CAT_OPTIONS_FALSE'=>$lang['forbidden'],
|
||||
|
||||
'F_ACTION' =>
|
||||
add_session_id(
|
||||
PHPWG_ROOT_PATH.
|
||||
'admin.php?page=user_perm'.
|
||||
'&user_id='.$page['user']
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user