1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-04 01:22:50 -05:00

[Reset Password v1] Update DB for Forced Reset (#1467)

* [Reset Password v1] Force Temp Password Changes

* Updated EF migrations/scripts

* Updating user sprocs with default bit value
This commit is contained in:
Vincent Salucci
2021-07-21 11:47:11 -05:00
committed by GitHub
parent 8e97b924d4
commit 4e486e5f5d
15 changed files with 3299 additions and 5 deletions

View File

@ -29,7 +29,8 @@
@KdfIterations INT,
@CreationDate DATETIME2(7),
@RevisionDate DATETIME2(7),
@ApiKey VARCHAR(30)
@ApiKey VARCHAR(30),
@ForcePasswordReset BIT = 0
AS
BEGIN
SET NOCOUNT ON
@ -66,7 +67,8 @@ BEGIN
[KdfIterations],
[CreationDate],
[RevisionDate],
[ApiKey]
[ApiKey],
[ForcePasswordReset]
)
VALUES
(
@ -100,6 +102,7 @@ BEGIN
@KdfIterations,
@CreationDate,
@RevisionDate,
@ApiKey
@ApiKey,
@ForcePasswordReset
)
END