mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Add an entry to log, if the database is updated.
This commit is contained in:
parent
d5f018a738
commit
bfa43e68a9
6 changed files with 110 additions and 7 deletions
|
@ -35,6 +35,7 @@ class UserLoginLogEntry extends AbstractLogEntry
|
|||
|
||||
public function __construct(string $ip_address, bool $anonymize = true)
|
||||
{
|
||||
parent::__construct();
|
||||
$this->level = self::LEVEL_INFO;
|
||||
$this->setIPAddress($ip_address, $anonymize);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue