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:
parent
e68ed04f77
commit
54a857f215
@ -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
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user