From 6a1c5ed5337ff63d351ff31f753ab9d0a195d472 Mon Sep 17 00:00:00 2001 From: James Elliott Date: Mon, 7 Mar 2022 00:01:46 +1100 Subject: [PATCH] fix(configuration): invalid password algorithm tag (#2972) This fixes a configuration parsing issue that could potentially occur if we were to change the internal name of the struct field. --- internal/configuration/schema/authentication.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/configuration/schema/authentication.go b/internal/configuration/schema/authentication.go index 648c711d..f18a0ff3 100644 --- a/internal/configuration/schema/authentication.go +++ b/internal/configuration/schema/authentication.go @@ -38,7 +38,7 @@ type PasswordConfiguration struct { Iterations int `koanf:"iterations"` KeyLength int `koanf:"key_length"` SaltLength int `koanf:"salt_length"` - Algorithm string `mapstrucutre:"algorithm"` + Algorithm string `koaanf:"algorithm"` Memory int `koanf:"memory"` Parallelism int `koanf:"parallelism"` }