mirror of
https://github.com/bitwarden/server.git
synced 2025-05-07 20:52:21 -05:00
remove provider from user table
This commit is contained in:
parent
d57a68aae3
commit
61a436906c
@ -19,7 +19,6 @@ namespace Bit.Core.Models.Table
|
|||||||
public string MasterPasswordHint { get; set; }
|
public string MasterPasswordHint { get; set; }
|
||||||
public string Culture { get; set; } = "en-US";
|
public string Culture { get; set; } = "en-US";
|
||||||
public string SecurityStamp { get; set; }
|
public string SecurityStamp { get; set; }
|
||||||
public TwoFactorProviderType? TwoFactorProvider { get; set; }
|
|
||||||
public string TwoFactorProviders { get; set; }
|
public string TwoFactorProviders { get; set; }
|
||||||
public string TwoFactorRecoveryCode { get; set; }
|
public string TwoFactorRecoveryCode { get; set; }
|
||||||
public string EquivalentDomains { get; set; }
|
public string EquivalentDomains { get; set; }
|
||||||
|
@ -474,7 +474,6 @@ namespace Bit.Core.Services
|
|||||||
}
|
}
|
||||||
|
|
||||||
user.TwoFactorProviders = null;
|
user.TwoFactorProviders = null;
|
||||||
user.TwoFactorProvider = null;
|
|
||||||
user.TwoFactorRecoveryCode = null;
|
user.TwoFactorRecoveryCode = null;
|
||||||
await SaveUserAsync(user);
|
await SaveUserAsync(user);
|
||||||
|
|
||||||
|
@ -42,6 +42,11 @@ namespace Bit.Core.Services
|
|||||||
return Task.FromResult(0);
|
return Task.FromResult(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Task SendTwoFactorEmailAsync(string email, string token)
|
||||||
|
{
|
||||||
|
return Task.FromResult(0);
|
||||||
|
}
|
||||||
|
|
||||||
public Task SendWelcomeEmailAsync(User user)
|
public Task SendWelcomeEmailAsync(User user)
|
||||||
{
|
{
|
||||||
return Task.FromResult(0);
|
return Task.FromResult(0);
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
@MasterPasswordHint NVARCHAR(50),
|
@MasterPasswordHint NVARCHAR(50),
|
||||||
@Culture NVARCHAR(10),
|
@Culture NVARCHAR(10),
|
||||||
@SecurityStamp NVARCHAR(50),
|
@SecurityStamp NVARCHAR(50),
|
||||||
@TwoFactorProvider TINYINT,
|
|
||||||
@TwoFactorProviders NVARCHAR(MAX),
|
@TwoFactorProviders NVARCHAR(MAX),
|
||||||
@TwoFactorRecoveryCode NVARCHAR(32),
|
@TwoFactorRecoveryCode NVARCHAR(32),
|
||||||
@EquivalentDomains NVARCHAR(MAX),
|
@EquivalentDomains NVARCHAR(MAX),
|
||||||
@ -32,7 +31,6 @@ BEGIN
|
|||||||
[MasterPasswordHint],
|
[MasterPasswordHint],
|
||||||
[Culture],
|
[Culture],
|
||||||
[SecurityStamp],
|
[SecurityStamp],
|
||||||
[TwoFactorProvider],
|
|
||||||
[TwoFactorProviders],
|
[TwoFactorProviders],
|
||||||
[TwoFactorRecoveryCode],
|
[TwoFactorRecoveryCode],
|
||||||
[EquivalentDomains],
|
[EquivalentDomains],
|
||||||
@ -54,7 +52,6 @@ BEGIN
|
|||||||
@MasterPasswordHint,
|
@MasterPasswordHint,
|
||||||
@Culture,
|
@Culture,
|
||||||
@SecurityStamp,
|
@SecurityStamp,
|
||||||
@TwoFactorProvider,
|
|
||||||
@TwoFactorProviders,
|
@TwoFactorProviders,
|
||||||
@TwoFactorRecoveryCode,
|
@TwoFactorRecoveryCode,
|
||||||
@EquivalentDomains,
|
@EquivalentDomains,
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
@MasterPasswordHint NVARCHAR(50),
|
@MasterPasswordHint NVARCHAR(50),
|
||||||
@Culture NVARCHAR(10),
|
@Culture NVARCHAR(10),
|
||||||
@SecurityStamp NVARCHAR(50),
|
@SecurityStamp NVARCHAR(50),
|
||||||
@TwoFactorProvider TINYINT,
|
|
||||||
@TwoFactorProviders NVARCHAR(MAX),
|
@TwoFactorProviders NVARCHAR(MAX),
|
||||||
@TwoFactorRecoveryCode NVARCHAR(32),
|
@TwoFactorRecoveryCode NVARCHAR(32),
|
||||||
@EquivalentDomains NVARCHAR(MAX),
|
@EquivalentDomains NVARCHAR(MAX),
|
||||||
@ -32,7 +31,6 @@ BEGIN
|
|||||||
[MasterPasswordHint] = @MasterPasswordHint,
|
[MasterPasswordHint] = @MasterPasswordHint,
|
||||||
[Culture] = @Culture,
|
[Culture] = @Culture,
|
||||||
[SecurityStamp] = @SecurityStamp,
|
[SecurityStamp] = @SecurityStamp,
|
||||||
[TwoFactorProvider] = @TwoFactorProvider,
|
|
||||||
[TwoFactorProviders] = @TwoFactorProviders,
|
[TwoFactorProviders] = @TwoFactorProviders,
|
||||||
[TwoFactorRecoveryCode] = @TwoFactorRecoveryCode,
|
[TwoFactorRecoveryCode] = @TwoFactorRecoveryCode,
|
||||||
[EquivalentDomains] = @EquivalentDomains,
|
[EquivalentDomains] = @EquivalentDomains,
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
[MasterPasswordHint] NVARCHAR (50) NULL,
|
[MasterPasswordHint] NVARCHAR (50) NULL,
|
||||||
[Culture] NVARCHAR (10) NOT NULL,
|
[Culture] NVARCHAR (10) NOT NULL,
|
||||||
[SecurityStamp] NVARCHAR (50) NOT NULL,
|
[SecurityStamp] NVARCHAR (50) NOT NULL,
|
||||||
[TwoFactorProvider] TINYINT NULL,
|
|
||||||
[TwoFactorProviders] NVARCHAR (MAX) NULL,
|
[TwoFactorProviders] NVARCHAR (MAX) NULL,
|
||||||
[TwoFactorRecoveryCode] NVARCHAR (32) NULL,
|
[TwoFactorRecoveryCode] NVARCHAR (32) NULL,
|
||||||
[EquivalentDomains] NVARCHAR (MAX) NULL,
|
[EquivalentDomains] NVARCHAR (MAX) NULL,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user