From 4110963d3029f56d3f32cba093259790270b9fc6 Mon Sep 17 00:00:00 2001 From: deflax Date: Sun, 12 May 2019 20:39:25 +0300 Subject: [PATCH] enable register --- app/auth/routes.py | 1 - app/templates/main/index.html | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app/auth/routes.py b/app/auth/routes.py index 7f21845..5d76713 100644 --- a/app/auth/routes.py +++ b/app/auth/routes.py @@ -140,7 +140,6 @@ def logout(): return redirect(url_for('main.index')) @auth.route('/register', methods=['GET', 'POST']) -@admin_required def register(): #print(current_app.secret_key) page = { 'title': 'Register' } diff --git a/app/templates/main/index.html b/app/templates/main/index.html index da1afc1..34aa5a6 100644 --- a/app/templates/main/index.html +++ b/app/templates/main/index.html @@ -100,6 +100,12 @@ +
+
+
+
+ + {% endblock %} {% block footer %}