1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-12 05:13:58 -05:00

[Reset Password] Added new event type for admin password reset (#1350)

This commit is contained in:
Vincent Salucci
2021-05-26 15:51:54 -05:00
committed by GitHub
parent d4cf6d929a
commit d7f3507d44
2 changed files with 2 additions and 1 deletions

View File

@ -690,7 +690,7 @@ namespace Bit.Core.Services
await _userRepository.ReplaceAsync(user);
// TODO Reset Password - Send email alerting user of changed password
await _eventService.LogUserEventAsync(user.Id, EventType.User_ChangedPassword);
await _eventService.LogOrganizationUserEventAsync(orgUser, EventType.OrganizationUser_AdminResetPassword);
await _pushService.PushLogOutAsync(user.Id);
return IdentityResult.Success;