summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2015-06-01 00:44:21 (GMT)
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2015-06-01 00:44:21 (GMT)
commit2b6ce04423bf6b1078790ce09d78ea94b29261ac (patch)
treec750dce359f38bb151f337f91f5c2ce8f406b7c6
parent56336823aa3a5de8a17c4146ed1ef93924a7c362 (diff)
downloaddjango-mellon-2b6ce04423bf6b1078790ce09d78ea94b29261ac.zip
django-mellon-2b6ce04423bf6b1078790ce09d78ea94b29261ac.tar.gz
django-mellon-2b6ce04423bf6b1078790ce09d78ea94b29261ac.tar.bz2
authentication_failed.html: show the StatusMessage to the user if there is one
-rw-r--r--mellon/templates/mellon/authentication_failed.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/mellon/templates/mellon/authentication_failed.html b/mellon/templates/mellon/authentication_failed.html
index 6695c02..a32853b 100644
--- a/mellon/templates/mellon/authentication_failed.html
+++ b/mellon/templates/mellon/authentication_failed.html
@@ -12,6 +12,7 @@
<h2 class="mellon-message-header">{% trans "Authentication failed" %}</h2>
<p class="mellon-message-body">
{% blocktrans %}The authentication has failed.{% endblocktrans %}
+ {% if idp_message %}<p class="mellon-idp-message">{% trans "Reason" %}&nbsp;: {{ idp_message }}</p>{% endif %}
</p>
<p class="mellon-message-continue">
<a class="mellon-link" href="{{ next_url }}">{% trans "Continue" %}</a>