From 182c888553049a718140dbe453c6ecce1fe292d2 Mon Sep 17 00:00:00 2001 From: Dita Aji Pratama Date: Mon, 10 Mar 2025 14:13:50 +0700 Subject: [PATCH] Moving the login position --- handler.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/handler.py b/handler.py index c0fe428..a171177 100644 --- a/handler.py +++ b/handler.py @@ -62,15 +62,6 @@ def index(): } return public_verify.verify().html(params) -@app.route('/login') -def index(): - params = { - "mako" : { - "website" : template_public.main(directory.page["public"], "login") - } - } - return public_login.login().html(params) - @app.route('/forgot') def index(): params = { @@ -89,6 +80,15 @@ def index(): } return public_reset.reset().html(params) +@app.route('/login') +def index(): + params = { + "mako" : { + "website" : template_public.main(directory.page["public"], "login") + } + } + return public_login.login().html(params) + @app.route('/logout') def index(): beaker_session = request.environ.get('beaker.session')