fix failed_login cache, improve coding

This commit is contained in:
Peter Bieringer 2024-12-31 07:57:54 +01:00
parent 4f2990342d
commit a794a51885
3 changed files with 67 additions and 23 deletions

View file

@ -814,16 +814,22 @@ Default: `none`
##### cache_logins
Cache successful logins until expiration time
Cache successful/failed logins until expiration time
Default: `false`
##### cache_logins_expiry
##### cache_successful_logins_expiry
Expiration time of caching successful logins in seconds
Default: `5`
##### cache_failed_logins_expiry
Expiration time of caching failed logins in seconds
Default: `60`
##### htpasswd_filename
Path to the htpasswd file.