1
0
mirror of https://github.com/bitwarden/server.git synced 2025-01-11 20:10:38 +01:00

add 2fa recovery code to user create sproc

This commit is contained in:
Kyle Spearrin 2016-11-14 22:35:14 -05:00
parent e68ed04f77
commit 54a857f215

View File

@ -10,6 +10,7 @@
@TwoFactorEnabled BIT, @TwoFactorEnabled BIT,
@TwoFactorProvider TINYINT, @TwoFactorProvider TINYINT,
@AuthenticatorKey NVARCHAR(50), @AuthenticatorKey NVARCHAR(50),
@TwoFactorRecoveryCode NVARCHAR(32),
@CreationDate DATETIME2(7), @CreationDate DATETIME2(7),
@RevisionDate DATETIME2(7) @RevisionDate DATETIME2(7)
AS AS
@ -29,6 +30,7 @@ BEGIN
[TwoFactorEnabled], [TwoFactorEnabled],
[TwoFactorProvider], [TwoFactorProvider],
[AuthenticatorKey], [AuthenticatorKey],
[TwoFactorRecoveryCode],
[CreationDate], [CreationDate],
[RevisionDate] [RevisionDate]
) )
@ -45,6 +47,7 @@ BEGIN
@TwoFactorEnabled, @TwoFactorEnabled,
@TwoFactorProvider, @TwoFactorProvider,
@AuthenticatorKey, @AuthenticatorKey,
@TwoFactorRecoveryCode,
@CreationDate, @CreationDate,
@RevisionDate @RevisionDate
) )