1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-01 16:12:49 -05:00

remove user twofactorenabled property

This commit is contained in:
Kyle Spearrin
2017-06-19 22:25:19 -04:00
parent 3b5b24531b
commit 2eaaecd95c
9 changed files with 25 additions and 43 deletions

View File

@ -415,7 +415,8 @@ namespace Bit.Core.Services
return false;
}
user.TwoFactorEnabled = false;
user.TwoFactorProviders = null;
user.TwoFactorProvider = null;
user.TwoFactorRecoveryCode = null;
await SaveUserAsync(user);