mirror of
https://github.com/bitwarden/server.git
synced 2025-04-05 13:08:17 -05:00
toggled the force password reset flow off (#1510)
* toggled the force password reset flow off * Update UserService.cs
This commit is contained in:
parent
87fb3f533c
commit
824645250e
@ -690,7 +690,11 @@ namespace Bit.Core.Services
|
||||
|
||||
user.RevisionDate = user.AccountRevisionDate = DateTime.UtcNow;
|
||||
user.Key = key;
|
||||
user.ForcePasswordReset = true;
|
||||
|
||||
/*
|
||||
The reset password flow is disabled for the August 2021 release.
|
||||
user.ForcePasswordReset = true;
|
||||
*/
|
||||
|
||||
await _userRepository.ReplaceAsync(user);
|
||||
await _mailService.SendAdminResetPasswordEmailAsync(user.Email, user.Name ?? user.Email, org.Name);
|
||||
|
Loading…
x
Reference in New Issue
Block a user