mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-25 19:28:51 +02:00
Write to event log, when a user gets impersonated
This commit is contained in:
parent
cc1595e048
commit
8a4ede9d43
5 changed files with 80 additions and 0 deletions
|
@ -64,6 +64,7 @@ class SecurityEventLogEntry extends AbstractLogEntry
|
|||
6 => SecurityEvents::GOOGLE_DISABLED,
|
||||
7 => SecurityEvents::TRUSTED_DEVICE_RESET,
|
||||
8 => SecurityEvents::TFA_ADMIN_RESET,
|
||||
9 => SecurityEvents::USER_IMPERSONATED,
|
||||
];
|
||||
|
||||
public function __construct(string $type, string $ip_address, bool $anonymize = true)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue