diff --git a/src/Sql/dbo/Stored Procedures/User_ReadKdfByEmail.sql b/src/Sql/dbo/Stored Procedures/User_ReadKdfByEmail.sql index b5d3ee193c..ee0d87742e 100644 --- a/src/Sql/dbo/Stored Procedures/User_ReadKdfByEmail.sql +++ b/src/Sql/dbo/Stored Procedures/User_ReadKdfByEmail.sql @@ -6,7 +6,7 @@ BEGIN SELECT [Kdf], - [KdfIterations] + [KdfIterations], [KdfMemory], [KdfParallelism] FROM diff --git a/util/Migrator/DbScripts/2023_01-15_00_KDFOptions.sql b/util/Migrator/DbScripts/2023-01-15_00_KDFOptions.sql similarity index 100% rename from util/Migrator/DbScripts/2023_01-15_00_KDFOptions.sql rename to util/Migrator/DbScripts/2023-01-15_00_KDFOptions.sql diff --git a/util/Migrator/DbScripts/2023-01-26_00_FixUserReadKdfByEmail.sql b/util/Migrator/DbScripts/2023-01-26_00_FixUserReadKdfByEmail.sql new file mode 100644 index 0000000000..aab26759c4 --- /dev/null +++ b/util/Migrator/DbScripts/2023-01-26_00_FixUserReadKdfByEmail.sql @@ -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