Supprime message sur page login

This commit is contained in:
Emmanuel Viennet 2023-03-20 11:46:32 +01:00 committed by iziram
parent e16e4a0ff3
commit a267c69501
2 changed files with 0 additions and 6 deletions

View File

@ -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(),
)

View File

@ -4,10 +4,6 @@
{% block app_content %}
{% if message %}
<div class="alert alert-danger" role="alert">{{ message }}</div>
{% endif %}
<h1>Connexion</h1>
<div class="row">