1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-02 08:32:50 -05: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

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