From 9c506792053ff0bcf521938d8e40e48d685e412b Mon Sep 17 00:00:00 2001 From: SvyatoslavArtymovych Date: Fri, 28 Apr 2023 14:24:38 +0300 Subject: [PATCH] cancel last hotfix --- app/views/main.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/views/main.py b/app/views/main.py index d6fc36d..21f868a 100644 --- a/app/views/main.py +++ b/app/views/main.py @@ -1,8 +1,11 @@ from flask import render_template, Blueprint +from flask_login import login_required + main_blueprint = Blueprint("main", __name__) @main_blueprint.route("/") +@login_required def index(): return render_template("index.html")