From 824645250e6c0c32126519199c290f221bfe16a9 Mon Sep 17 00:00:00 2001 From: Addison Beck Date: Thu, 12 Aug 2021 13:09:08 -0400 Subject: [PATCH] toggled the force password reset flow off (#1510) * toggled the force password reset flow off * Update UserService.cs --- src/Core/Services/Implementations/UserService.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Core/Services/Implementations/UserService.cs b/src/Core/Services/Implementations/UserService.cs index 224496a50b..52fa72f9aa 100644 --- a/src/Core/Services/Implementations/UserService.cs +++ b/src/Core/Services/Implementations/UserService.cs @@ -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);