From d564b1e8f9e9155169d84b85d5ca6464515f1552 Mon Sep 17 00:00:00 2001 From: marc Date: Thu, 15 Aug 2019 14:36:55 +0200 Subject: Added config option for default token length --- run.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'run.py') 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) -- cgit v1.2.1