mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-06 15:30:13 +01:00
Add log entries on user login or logout.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user