summaryrefslogtreecommitdiff
path: root/guard/application.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 /guard/application.py
parent5f60e7ba37e50964827e59f2a9079408bd0113b8 (diff)
downloadinfluxdb-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.py2
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():