diff --git a/phpgwapi/inc/class.egw_session.inc.php b/phpgwapi/inc/class.egw_session.inc.php index b0f942cd22..c0e7328f65 100644 --- a/phpgwapi/inc/class.egw_session.inc.php +++ b/phpgwapi/inc/class.egw_session.inc.php @@ -571,7 +571,7 @@ class egw_session if ($reason) // called hook requests to deny the session { $this->reason = $this->cd_reason = $reason; - $this->log_access($this->reason,$login,$user_ip,0 ); // log unsuccessfull login + $this->log_access($this->reason,$login,$user_ip,$this->account_id); // log unsuccessfull login return false; } }