mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-23 07:56:44 -06:00
#9935 oops - remove login.html changes
This commit is contained in:
parent
972145ff1b
commit
1ab868c908
@ -42,17 +42,10 @@
|
|||||||
{% if auth_backends %}
|
{% if auth_backends %}
|
||||||
<h6 class="mt-4 mb-3">Or use a single sign-on (SSO) provider:</h6>
|
<h6 class="mt-4 mb-3">Or use a single sign-on (SSO) provider:</h6>
|
||||||
{% for name, display in auth_backends.items %}
|
{% for name, display in auth_backends.items %}
|
||||||
{% if name == 'saml' %}
|
<h5>
|
||||||
<h5>
|
{% if display.1 %}<i class="mdi mdi-{{ display.1 }}"></i>{% endif %}
|
||||||
{% if display.1 %}<i class="mdi mdi-{{ display.1 }}"></i>{% endif %}
|
<a href="{% url 'social:begin' backend=name %}" class="my-2">{{ display.0 }}</a>
|
||||||
<a href="{% url 'social:begin' backend=name %}" class="my-2">{{ display.0 }}</a>
|
</h5>
|
||||||
</h5>
|
|
||||||
{% else %}
|
|
||||||
<h5>
|
|
||||||
{% if display.1 %}<i class="mdi mdi-{{ display.1 }}"></i>{% endif %}
|
|
||||||
<a href="{% url 'social:begin' backend=name %}" class="my-2">{{ display.0 }}</a>
|
|
||||||
</h5>
|
|
||||||
{% endif %}
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user