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 /guard/application.py | |
parent | 5f60e7ba37e50964827e59f2a9079408bd0113b8 (diff) | |
download | influxdb-guard-d564b1e8f9e9155169d84b85d5ca6464515f1552.tar.gz influxdb-guard-d564b1e8f9e9155169d84b85d5ca6464515f1552.zip |
Added config option for default token length
Diffstat (limited to 'guard/application.py')
-rw-r--r-- | guard/application.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guard/application.py b/guard/application.py index 4782bac..45261ec 100644 --- a/guard/application.py +++ b/guard/application.py @@ -23,7 +23,7 @@ def make_app(app, config): Access.create(token=request.form["token"], pattern=request.form["pattern"], comment=request.form["comment"]) - return templates.index(config['port'], cookiename) + return templates.index(config) @app.route("/delete", methods=["POST"]) def delete(): |