We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6036c2e commit fa55fc1Copy full SHA for fa55fc1
readthedocs/templates/account/login.html
@@ -71,6 +71,15 @@ <h3>{% trans 'Or' %}</h3>
71
<div class="clearfix">
72
<ul class="socialaccount_providers">
73
{% include "socialaccount/snippets/provider_list.html" with process="login" next=request.GET.next verbiage="Log in using" %}
74
+ {% if USE_ORGANIZATIONS %}
75
+ <li>
76
+ <form action="{% url "saml_resolve_login" %}{% if redirect_field_value %}?{{ redirect_field_name }}={{ redirect_field_value }}{% endif %}" method="get">
77
+ <button class="socialaccount-provider button" type="submit">
78
+ {% trans "Log in using single sign-on" %}
79
+ </button>
80
+ </form>
81
+ </li>
82
+ {% endif %}
83
</ul>
84
</div>
85
{% endif %}
0 commit comments