1
0
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:
Kyle Spearrin
2018-10-09 15:59:07 -04:00
parent 95cccf5eba
commit aba009c221
2 changed files with 2 additions and 2 deletions

View File

@@ -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)