mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 17:18:54 +01:00
suppress warning if session already active (trace logs the password)
This commit is contained in:
parent
e99c3368e6
commit
deb482aca3
@ -550,7 +550,10 @@ class Session
|
|||||||
// --> 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)))
|
||||||
{
|
{
|
||||||
session_id($this->sessionid);
|
if (session_status() !== PHP_SESSION_ACTIVE) // gives warning including password
|
||||||
|
{
|
||||||
|
session_id($this->sessionid);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user