1
0
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:
Vincent Salucci
2021-05-26 16:54:25 -05:00
committed by GitHub
parent d7f3507d44
commit c56dd04096
7 changed files with 40 additions and 1 deletions

View File

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