Merge pull request #1668 from pbiering/login-cache
add optional cache for login result and htpasswd + fixes final version will be updated to 3.4.0 next
This commit is contained in:
12
config
12
config
@@ -62,6 +62,15 @@
|
||||
# Value: none | htpasswd | remote_user | http_x_remote_user | ldap | denyall
|
||||
#type = none
|
||||
|
||||
# Cache logins for until expiration time
|
||||
#cache_logins = false
|
||||
|
||||
# Expiration time for caching successful logins in seconds
|
||||
#cache_successful_logins_expiry = 15
|
||||
|
||||
## Expiration time of caching failed logins in seconds
|
||||
#cache_failed_logins_expiry = 90
|
||||
|
||||
# URI to the LDAP server
|
||||
#ldap_uri = ldap://localhost
|
||||
|
||||
@@ -103,6 +112,9 @@
|
||||
# bcrypt requires the installation of 'bcrypt' module.
|
||||
#htpasswd_encryption = autodetect
|
||||
|
||||
# Enable caching of htpasswd file based on size and mtime_ns
|
||||
#htpasswd_cache = False
|
||||
|
||||
# Incorrect authentication delay (seconds)
|
||||
#delay = 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user