From 63b40d2228a4788572c391c48e1a5eab03b6fc6b Mon Sep 17 00:00:00 2001 From: augustin64 Date: Mon, 9 Oct 2023 16:17:26 +0200 Subject: [PATCH 1/2] Actualiser Flask/templates/login.html MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Il est actuellement impossible pour moi de me connecter, la requête POST est faite à `/login` qui cause une redirection vers `/login/`(GET) et le serveur ne traite plus la requête POST initiale contenant le mot de passe. --- Flask/templates/login.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Flask/templates/login.html b/Flask/templates/login.html index 20054b1..bb7b340 100644 --- a/Flask/templates/login.html +++ b/Flask/templates/login.html @@ -3,7 +3,7 @@ {% block content %} {%if not current_user.is_authenticated %} -
+ From ccacad3c0c2983bc4ff69f32389274c1624206af Mon Sep 17 00:00:00 2001 From: augustin64 Date: Mon, 9 Oct 2023 16:20:11 +0200 Subject: [PATCH 2/2] =?UTF-8?q?Changer=20le=20type=20de=20champ=20=C3=A0?= =?UTF-8?q?=20password?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cela permettra à des gestionnaires de mots de passe de le détecter --- Flask/templates/login.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Flask/templates/login.html b/Flask/templates/login.html index bb7b340..e64fc31 100644 --- a/Flask/templates/login.html +++ b/Flask/templates/login.html @@ -7,7 +7,7 @@
password
- +
password