Add log entries on user login or logout.

This commit is contained in:
Jan Böhmer 2020-01-26 13:59:30 +01:00
parent d6c6b973bf
commit c8375bfa8b
9 changed files with 323 additions and 5 deletions

View file

@ -154,7 +154,7 @@ abstract class AbstractLogEntry extends DBElement
* Get the user that caused the event associated with this log entry.
* @return User
*/
public function getUser(): User
public function getUser(): ?User
{
return $this->user;
}