diff --git a/app/auth/routes.py b/app/auth/routes.py index 8fedf302e..235b9e5b8 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 a974fdf3c..43e5675a4 100644 --- a/app/templates/auth/login.j2 +++ b/app/templates/auth/login.j2 @@ -4,10 +4,6 @@ {% block app_content %} -{% if message %} -