From af69e3b7ac32da451725bd491f2d940ab391759e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 23 Nov 2017 13:51:39 +0100 Subject: [PATCH] Do not show ui for configuring 2fa if no backends are found MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #13825 Signed-off-by: Michal Čihař --- templates/prefs_second.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/prefs_second.twig b/templates/prefs_second.twig index 743072ddeb..be3a427b34 100644 --- a/templates/prefs_second.twig +++ b/templates/prefs_second.twig @@ -32,7 +32,7 @@ -{% else %} +{% elseif num_backends > 0 %}

{% trans "Configure two-factor authentication" %}