From 0d3046e711a9ca2cddc5b7944ddd8415c0467d10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Sun, 3 Jan 2016 21:50:33 +0100 Subject: [PATCH] Authentication: hide block with OAuth providers, when no providers configured --- umap/templates/registration/login.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/umap/templates/registration/login.html b/umap/templates/registration/login.html index 1b86f481..0835651e 100644 --- a/umap/templates/registration/login.html +++ b/umap/templates/registration/login.html @@ -13,6 +13,7 @@ {% endif %} +{% if backends.backends|length %}
{% trans "Please choose a provider" %}
@@ -24,3 +25,4 @@ {% endfor %}
+{% endif %}