From b8fb7f254b65a30ca168c5b3b98f83c5fc7b18b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Mon, 27 Nov 2017 22:24:06 +0100 Subject: [PATCH] Fix referenceding twofactor attribute MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #13832 Signed-off-by: Michal Čihař --- libraries/classes/Plugins/AuthenticationPlugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/classes/Plugins/AuthenticationPlugin.php b/libraries/classes/Plugins/AuthenticationPlugin.php index 7e19a42e15..b9f3762ba7 100644 --- a/libraries/classes/Plugins/AuthenticationPlugin.php +++ b/libraries/classes/Plugins/AuthenticationPlugin.php @@ -337,7 +337,7 @@ abstract class AuthenticationPlugin )->display(); echo Template::get('login/twofactor')->render([ 'form' => $twofactor->render(), - 'show_submit' => $twofactor->showSubmit, + 'show_submit' => $twofactor->backend::$showSubmit, ]); echo Template::get('login/footer')->render(); echo Config::renderFooter();