summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2020-06-10 08:47:50 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2020-06-10 09:08:35 (GMT)
commitbfd71550cfcf6c0adf322e98a4dd8eeb50ecc3f7 (patch)
tree2822b1f4c7ba915182cdb110d88af1d6c4197907
parentc05f4a3129ee85388c29d7170f3e7f52d0425a95 (diff)
downloaddjango-mellon-master.zip
django-mellon-master.tar.gz
django-mellon-master.tar.bz2
display debug error details in an HTML comment (#43845)HEADv1.17master
-rw-r--r--mellon/templates/mellon/authentication_failed.html22
1 files changed, 6 insertions, 16 deletions
diff --git a/mellon/templates/mellon/authentication_failed.html b/mellon/templates/mellon/authentication_failed.html
index 19200a7..39a0b25 100644
--- a/mellon/templates/mellon/authentication_failed.html
+++ b/mellon/templates/mellon/authentication_failed.html
@@ -18,22 +18,12 @@
<a class="mellon-link" href="{{ next_url }}">{% trans "Continue" %}</a>
</p>
{% if debug %}
- <dl id="mellon-authentication-failure-details">
- <dt class="mellon-issuer">{% trans "Issuer" %}</dt>
- <dd class="mellon-issuer"><tt>{{ issuer }}</tt></dd>
- {% if status_message %}
- <dt class="mellon-status-message">{% trans "Message" %}</dt>
- <dd class="mellon-status-message">{{ status_message }}</dd>
- {% endif %}
- {% if status_codes %}
- <dt class="mellon-status-codes">{% trans "Codes" %}</dt>
- <dd class="mellon-status-codes"><tt>{{ status_codes|join:", " }}</tt></dd>
- {% endif %}
- {% if relaystate %}
- <dt class="mellon-relaystate">{% trans "Relaystate" %}</dt>
- <dd class="mellon-relaystate"><tt>{{ relaystate }}</tt></dd>
- {% endif %}
- </dl>
+ <!-- DEBUG INFO:
+ Issuer: {{ issuer }}
+ Message: {{ status_message }}
+ Status codes: {{ status_codes|join:", " }}
+ Relaystate: {{ relaystate }}
+ -->
{% endif %}
</div>
{% endblock %}