mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-30 22:51:01 +02:00
suppress warning if session already active (trace logs the password)
This commit is contained in:
@ -549,9 +549,12 @@ class Session
|
|||||||
// for *DAV and eSync we use a pseudo sessionid created from md5(user:passwd)
|
// for *DAV and eSync we use a pseudo sessionid created from md5(user:passwd)
|
||||||
// --> allows this stateless protocolls which use basic auth to use sessions!
|
// --> allows this stateless protocolls which use basic auth to use sessions!
|
||||||
if (($this->sessionid = self::get_sessionid(true)))
|
if (($this->sessionid = self::get_sessionid(true)))
|
||||||
|
{
|
||||||
|
if (session_status() !== PHP_SESSION_ACTIVE) // gives warning including password
|
||||||
{
|
{
|
||||||
session_id($this->sessionid);
|
session_id($this->sessionid);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
self::cache_control();
|
self::cache_control();
|
||||||
|
Reference in New Issue
Block a user