From f2de6ab80c666183764ba830aa7b189f9053aa9c Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Mon, 20 Mar 2023 11:46:32 +0100 Subject: [PATCH] Supprime message sur page login --- app/auth/routes.py | 2 -- app/templates/auth/login.j2 | 4 ---- 2 files changed, 6 deletions(-) diff --git a/app/auth/routes.py b/app/auth/routes.py index 8fedf302..235b9e5b 100644 --- a/app/auth/routes.py +++ b/app/auth/routes.py @@ -47,12 +47,10 @@ def _login_form(): current_app.logger.info("login: success (%s)", form.user_name.data) return form.redirect("scodoc.index") - message = request.args.get("message", "") return render_template( "auth/login.j2", title=_("Sign In"), form=form, - message=message, is_cas_enabled=ScoDocSiteConfig.is_cas_enabled(), ) diff --git a/app/templates/auth/login.j2 b/app/templates/auth/login.j2 index a974fdf3..43e5675a 100644 --- a/app/templates/auth/login.j2 +++ b/app/templates/auth/login.j2 @@ -4,10 +4,6 @@ {% block app_content %} -{% if message %} - -{% endif %} -

Connexion