diff options
author | marc <mlasch@mailbox.org> | 2019-08-15 14:36:55 +0200 |
---|---|---|
committer | marc <mlasch@mailbox.org> | 2019-08-15 14:36:55 +0200 |
commit | d564b1e8f9e9155169d84b85d5ca6464515f1552 (patch) | |
tree | f6c5b7613ef1aa0c5432ddfd6aab0786fa5f11ab /run.py | |
parent | 5f60e7ba37e50964827e59f2a9079408bd0113b8 (diff) | |
download | influxdb-guard-d564b1e8f9e9155169d84b85d5ca6464515f1552.tar.gz influxdb-guard-d564b1e8f9e9155169d84b85d5ca6464515f1552.zip |
Added config option for default token length
Diffstat (limited to 'run.py')
-rwxr-xr-x | run.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |