mirror of
https://github.com/bitwarden/server
synced 2025-12-14 23:33:41 +00:00
change event name to updated2fa
This commit is contained in:
@@ -606,7 +606,7 @@ namespace Bit.Core.Services
|
||||
user.TwoFactorRecoveryCode = CoreHelpers.SecureRandomString(32, upper: false, special: false);
|
||||
}
|
||||
await SaveUserAsync(user);
|
||||
await _eventService.LogUserEventAsync(user.Id, EventType.User_Enabled2fa);
|
||||
await _eventService.LogUserEventAsync(user.Id, EventType.User_Updated2fa);
|
||||
}
|
||||
|
||||
public async Task DisableTwoFactorProviderAsync(User user, TwoFactorProviderType type)
|
||||
|
||||
Reference in New Issue
Block a user