diff --git a/app/Controller/TwoFactorController.php b/app/Controller/TwoFactorController.php index 2038c2691..473838ef2 100644 --- a/app/Controller/TwoFactorController.php +++ b/app/Controller/TwoFactorController.php @@ -177,6 +177,7 @@ class TwoFactorController extends UserViewController $this->response->html($this->helper->layout->app('twofactor/check', array( 'title' => t('Check two factor authentication code'), + 'no_layout' => true, ))); } diff --git a/app/Template/twofactor/check.php b/app/Template/twofactor/check.php index 06801d50a..2c0de97c0 100644 --- a/app/Template/twofactor/check.php +++ b/app/Template/twofactor/check.php @@ -1,10 +1,15 @@ -