mirror of
https://github.com/bitwarden/server.git
synced 2025-07-11 12:53:50 -05:00
[Reset Password] Email template (#1353)
This commit is contained in:
@ -689,7 +689,7 @@ namespace Bit.Core.Services
|
||||
user.Key = key;
|
||||
|
||||
await _userRepository.ReplaceAsync(user);
|
||||
// TODO Reset Password - Send email alerting user of changed password
|
||||
await _mailService.SendAdminResetPasswordEmailAsync(user.Email, user.Name ?? user.Email, org.Name);
|
||||
await _eventService.LogOrganizationUserEventAsync(orgUser, EventType.OrganizationUser_AdminResetPassword);
|
||||
await _pushService.PushLogOutAsync(user.Id);
|
||||
|
||||
|
Reference in New Issue
Block a user