1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-05 13:08:17 -05:00

[Reset Password] ForcePasswordReset in AuthResult (#1576)

This commit is contained in:
Vincent Salucci 2021-09-10 16:51:46 -05:00 committed by GitHub
parent 4b346ff7ea
commit c0f53d7371
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -164,6 +164,7 @@ namespace Bit.Core.IdentityServer
customResponse.Add("Key", user.Key);
}
customResponse.Add("ForcePasswordReset", user.ForcePasswordReset);
customResponse.Add("ResetMasterPassword", string.IsNullOrWhiteSpace(user.MasterPassword));
customResponse.Add("Kdf", (byte)user.Kdf);
customResponse.Add("KdfIterations", user.KdfIterations);