0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-04-01 02:42:49 -05:00

use correct event type when deleting a user

This commit is contained in:
Stefan Melmuk 2025-01-27 23:09:18 +01:00
parent 1b9efc0830
commit 32d47faa3b
No known key found for this signature in database
GPG key ID: 817020C608FE9C09

View file

@ -403,7 +403,7 @@ async fn delete_user(user_id: UserId, token: AdminToken, mut conn: DbConn) -> Em
for membership in memberships {
log_event(
EventType::OrganizationUserRemoved as i32,
EventType::OrganizationUserDeleted as i32,
&membership.uuid,
&membership.org_uuid,
&ACTING_ADMIN_USER.into(),