mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-02-15 20:33:26 +00:00
Set default value for allowed-ips protection to false
The endpoint is disabled by default, no matter what protection modes are enabled. If all are disabled, then the endpoint is not protected (if enabled by an admin). Conversely, if all protection modes are enabled, they all must succeed. All protection modes should be off by default, so the user would choose one. It is confusing, if a user enables one and doesn't realize that another one is also enabled by default.
This commit is contained in:
parent
efcf857cf0
commit
6165b6b8c6
@ -55,7 +55,7 @@ docspell.server {
|
||||
# `192.168.*.*`. The `127.0.0.1' (the default) matches the
|
||||
# loopback address.
|
||||
allowed-ips {
|
||||
enabled = true
|
||||
enabled = false
|
||||
ips = [ "127.0.0.1" ]
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user