mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-07 11:44:38 +02:00
Add log entries on user login or logout.
This commit is contained in:
parent
d6c6b973bf
commit
c8375bfa8b
9 changed files with 323 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue