summaryrefslogtreecommitdiff
path: root/run.py
diff options
context:
space:
mode:
authormarc <mlasch@mailbox.org>2019-08-15 14:36:55 +0200
committermarc <mlasch@mailbox.org>2019-08-15 14:36:55 +0200
commitd564b1e8f9e9155169d84b85d5ca6464515f1552 (patch)
treef6c5b7613ef1aa0c5432ddfd6aab0786fa5f11ab /run.py
parent5f60e7ba37e50964827e59f2a9079408bd0113b8 (diff)
downloadinfluxdb-guard-d564b1e8f9e9155169d84b85d5ca6464515f1552.tar.gz
influxdb-guard-d564b1e8f9e9155169d84b85d5ca6464515f1552.zip
Added config option for default token length
Diffstat (limited to 'run.py')
-rwxr-xr-xrun.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/run.py b/run.py
index bfd9975..0ac5101 100755
--- a/run.py
+++ b/run.py
@@ -38,7 +38,8 @@ def get_config(path: str = None) -> ConfigParser:
"port": "8001",
"cookiename": "token",
"adminsecret": "changeme",
- "debug": "false"
+ "gen_token_len": 22,
+ "debug": "false",
}
if path is not None:
config.read(path)