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:
@ -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;
|
||||
|
Reference in New Issue
Block a user