1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-01 08:02:49 -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:
Addison Beck
2021-08-12 13:09:08 -04:00
committed by GitHub
parent 87fb3f533c
commit 824645250e

View File

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