forked from extern/egroupware
fix error_log "no session password available" to only show, if no session password is available
This commit is contained in:
parent
8b06beed25
commit
78581a3eb4
@ -412,8 +412,11 @@ class emailadmin_credentials
|
|||||||
elseif ($user)
|
elseif ($user)
|
||||||
{
|
{
|
||||||
$session_key = egw_cache::getSession('phpgwapi', 'password');
|
$session_key = egw_cache::getSession('phpgwapi', 'password');
|
||||||
error_log(__METHOD__."() no session password available!");
|
if (empty($session_key))
|
||||||
if (empty($session_key)) return false;
|
{
|
||||||
|
error_log(__METHOD__."() no session password available!");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
$key = base64_decode($session_key);
|
$key = base64_decode($session_key);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user