display debug error details in an HTML comment (#43845)
This commit is contained in:
parent
c05f4a3129
commit
bfd71550cf
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue