1
0
mirror of https://github.com/bitwarden/server synced 2026-01-08 03:23:20 +00:00

remove provider from user table

This commit is contained in:
Kyle Spearrin
2017-06-24 14:40:46 -04:00
parent d57a68aae3
commit 61a436906c
6 changed files with 5 additions and 8 deletions

View File

@@ -19,7 +19,6 @@ namespace Bit.Core.Models.Table
public string MasterPasswordHint { get; set; }
public string Culture { get; set; } = "en-US";
public string SecurityStamp { get; set; }
public TwoFactorProviderType? TwoFactorProvider { get; set; }
public string TwoFactorProviders { get; set; }
public string TwoFactorRecoveryCode { get; set; }
public string EquivalentDomains { get; set; }

View File

@@ -474,7 +474,6 @@ namespace Bit.Core.Services
}
user.TwoFactorProviders = null;
user.TwoFactorProvider = null;
user.TwoFactorRecoveryCode = null;
await SaveUserAsync(user);

View File

@@ -42,6 +42,11 @@ namespace Bit.Core.Services
return Task.FromResult(0);
}
public Task SendTwoFactorEmailAsync(string email, string token)
{
return Task.FromResult(0);
}
public Task SendWelcomeEmailAsync(User user)
{
return Task.FromResult(0);