Added a new param internal-password-bcrypt-round, set to 12 by default
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user