diff --git a/system/pages/account/2fa/base.php b/system/pages/account/2fa/base.php index 2b8c9e5b..e0c50a5b 100644 --- a/system/pages/account/2fa/base.php +++ b/system/pages/account/2fa/base.php @@ -17,7 +17,7 @@ if ((!setting('core.mail_enabled')) && ACTION == 'email-code') { return; } -if (!isset($account_logged) || !$account_logged->isLoaded()) { +if (!$account_logged->isLoaded()) { $current_session = getSession('account'); if($current_session) { $account_logged = new OTS_Account();