summaryrefslogtreecommitdiff
path: root/internal/authentication/file_user_provider.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/authentication/file_user_provider.go')
-rw-r--r--internal/authentication/file_user_provider.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/authentication/file_user_provider.go b/internal/authentication/file_user_provider.go
index ad7f204aa..4c92c7cdf 100644
--- a/internal/authentication/file_user_provider.go
+++ b/internal/authentication/file_user_provider.go
@@ -163,7 +163,7 @@ func NewFileCryptoHashFromConfig(config schema.AuthenticationBackendFilePassword
hash, err = argon2.New(
argon2.WithVariantName(config.Argon2.Variant),
argon2.WithT(config.Argon2.Iterations),
- argon2.WithM(uint32(config.Argon2.Memory)),
+ argon2.WithM(uint32(config.Argon2.Memory)), //nolint:gosec // Validated at runtime.
argon2.WithP(config.Argon2.Parallelism),
argon2.WithK(config.Argon2.KeyLength),
argon2.WithS(config.Argon2.SaltLength),