mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-16 21:13:23 +01:00
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