mirror of
https://github.com/bitwarden/server.git
synced 2024-11-22 12:15:36 +01:00
[EC-1043] Fix syntax error in ReadKdfByEmail query (#2631)
This commit is contained in:
parent
7c55d56561
commit
6dfbd06e8f
@ -6,7 +6,7 @@ BEGIN
|
|||||||
|
|
||||||
SELECT
|
SELECT
|
||||||
[Kdf],
|
[Kdf],
|
||||||
[KdfIterations]
|
[KdfIterations],
|
||||||
[KdfMemory],
|
[KdfMemory],
|
||||||
[KdfParallelism]
|
[KdfParallelism]
|
||||||
FROM
|
FROM
|
||||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user