Added a new param internal-password-bcrypt-round, set to 12 by default

This commit is contained in:
emeric
2024-11-25 23:36:22 +01:00
parent 953f521a84
commit d80e311250
6 changed files with 66 additions and 31 deletions
+3
View File
@@ -60,6 +60,9 @@ acousticbrainz-api-base-url = "https://acousticbrainz.org";
# Authentication
# Available backends: "internal", "PAM", "http-headers"
authentication-backend = "internal";
# The number of bcrypt rounds to be used when backend is set to "internal". The higher the more secure
internal-password-bcrypt-round = 12;
# The header to be used to read the authentication user when backend is set to "http-headers"
http-headers-login-field = "X-Forwarded-User";
# Max entries in the login throttler (1 entry per IP address. For IPv6, the whole /64 block is used)