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 --- guard/application.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guard/application.py') 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(): -- cgit v1.2.1