From a7b42ab3a1cb5e6ab101b6fd385be9493380bb86 Mon Sep 17 00:00:00 2001 From: piair Date: Thu, 28 Sep 2023 15:29:55 +0200 Subject: [PATCH] =?UTF-8?q?bon=20au=20moins=20j'ai=20compris=20le=20probl?= =?UTF-8?q?=C3=A8me?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Flask/app.py | 2 +- Flask/templates/login.html | 2 +- version | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Flask/app.py b/Flask/app.py index 146ef32..1d36293 100644 --- a/Flask/app.py +++ b/Flask/app.py @@ -159,7 +159,7 @@ def change_password(): # handle login failed @app.errorhandler(401) def unauthorized(e): - return(redirect("login")) + return(redirect("/login")) # callback to reload the user object diff --git a/Flask/templates/login.html b/Flask/templates/login.html index 7f5dbd3..20054b1 100644 --- a/Flask/templates/login.html +++ b/Flask/templates/login.html @@ -3,7 +3,7 @@ {% block content %} {%if not current_user.is_authenticated %} -
+ diff --git a/version b/version index ccd88f3..2286f89 100644 --- a/version +++ b/version @@ -1 +1 @@ -v6.6.24 +v6.6.25
password