1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-21 12:05:42 +01:00

[EC-1043] Fix syntax error in ReadKdfByEmail query (#2631)

This commit is contained in:
Thomas Rittson 2023-01-26 15:34:18 +10:00 committed by GitHub
parent 7c55d56561
commit 6dfbd06e8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 1 deletions

View File

@ -6,7 +6,7 @@ BEGIN
SELECT SELECT
[Kdf], [Kdf],
[KdfIterations] [KdfIterations],
[KdfMemory], [KdfMemory],
[KdfParallelism] [KdfParallelism]
FROM FROM

View File

@ -0,0 +1,17 @@
CREATE OR ALTER PROCEDURE [dbo].[User_ReadKdfByEmail]
@Email NVARCHAR(256)
AS
BEGIN
SET NOCOUNT ON
SELECT
[Kdf],
[KdfIterations],
[KdfMemory],
[KdfParallelism]
FROM
[dbo].[User]
WHERE
[Email] = @Email
END
GO