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:
Eike Kettner 2020-05-27 23:30:52 +02:00
parent efcf857cf0
commit 6165b6b8c6

View File

@ -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" ]
}