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)
|
||||
{
|
||||
$session_key = egw_cache::getSession('phpgwapi', 'password');
|
||||
error_log(__METHOD__."() no session password available!");
|
||||
if (empty($session_key)) return false;
|
||||
if (empty($session_key))
|
||||
{
|
||||
error_log(__METHOD__."() no session password available!");
|
||||
return false;
|
||||
}
|
||||
$key = base64_decode($session_key);
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user