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.
pull/2973/head
James Elliott 2022-03-07 00:01:46 +11:00 committed by GitHub
parent 6d937cf6cc
commit 6a1c5ed533
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ type PasswordConfiguration struct {
Iterations int `koanf:"iterations"` Iterations int `koanf:"iterations"`
KeyLength int `koanf:"key_length"` KeyLength int `koanf:"key_length"`
SaltLength int `koanf:"salt_length"` SaltLength int `koanf:"salt_length"`
Algorithm string `mapstrucutre:"algorithm"` Algorithm string `koaanf:"algorithm"`
Memory int `koanf:"memory"` Memory int `koanf:"memory"`
Parallelism int `koanf:"parallelism"` Parallelism int `koanf:"parallelism"`
} }