forked from extern/egroupware
"log failed login because of hook 'session_creation' with account_id, to not block the account in that case"
This commit is contained in:
parent
e8577f10a7
commit
96f5529abf
@ -561,7 +561,7 @@ class egw_session
|
|||||||
if ($reason) // called hook requests to deny the session
|
if ($reason) // called hook requests to deny the session
|
||||||
{
|
{
|
||||||
$this->reason = $this->cd_reason = $reason;
|
$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;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user