mirror of
https://github.com/Kozea/Radicale.git
synced 2025-04-03 21:27:36 +03:00
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:
commit
b0d56f898b
11 changed files with 461 additions and 60 deletions
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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue