From 4aa93275ea71bf4d66a8e932898d712971f3f1eb Mon Sep 17 00:00:00 2001 From: Kálmán Viktor Date: Mon, 3 Mar 2014 16:25:54 +0100 Subject: [PATCH] dashboard: don't display SSO if there is no SAML2 --- circle/templates/registration/login.html | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/circle/templates/registration/login.html b/circle/templates/registration/login.html index 58e655a..fe0528b 100644 --- a/circle/templates/registration/login.html +++ b/circle/templates/registration/login.html @@ -12,7 +12,7 @@ {% include "display-form-errors.html" %} {% endif %} -
+
+ {% if saml2 %}

Login with SSO

- {% if saml2 %} Click here! - {% else %} - {% trans "SAML2 NOT AVAILABLE" %} - {% endif %}
+ {% endif %}
-- libgit2 0.26.0