mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
* Setup: fixed CSRF error when trying to save configuration, if session encryption is switched on in header.inc.php ($GLOBALS[egw_info][server][mcrypt_enabled] = true;)
This commit is contained in:
parent
85ee05a6e8
commit
12ff3cf102
@ -251,7 +251,11 @@ class setup
|
||||
|
||||
if (isset($_COOKIE[self::SESSIONID])) session_id($_COOKIE[self::SESSIONID]);
|
||||
|
||||
return @session_start(); // suppress notice if session already started or warning in CLI
|
||||
$ok = @session_start(); // suppress notice if session already started or warning in CLI
|
||||
// need to decrypt session, in case session encryption is switched on in header.inc.php
|
||||
egw_session::decrypt();
|
||||
//error_log(__METHOD__."() returning ".array2string($ok).' _SESSION='.array2string($_SESSION));
|
||||
return $ok;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user