mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-01 18:18:31 +00:00
Move authentication delay into __init__.py and add config
Use the delay for all backends (not only htpasswd). Add configuration option to configure the delay.
This commit is contained in:
parent
fb970246e0
commit
f2fb07fa84
5 changed files with 18 additions and 5 deletions
|
@ -93,7 +93,10 @@ INITIAL_CONFIG = OrderedDict([
|
|||
"help": "htpasswd filename"}),
|
||||
("htpasswd_encryption", {
|
||||
"value": "bcrypt",
|
||||
"help": "htpasswd encryption method"})])),
|
||||
"help": "htpasswd encryption method"}),
|
||||
("delay", {
|
||||
"value": "1",
|
||||
"help": "incorrect authentication delay"})])),
|
||||
("rights", OrderedDict([
|
||||
("type", {
|
||||
"value": "owner_only",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue