diff --git a/system/pages/account/2fa/app/enable.php b/system/pages/account/2fa/app/enable.php index 37b41786..0916f57a 100644 --- a/system/pages/account/2fa/app/enable.php +++ b/system/pages/account/2fa/app/enable.php @@ -26,8 +26,6 @@ if (ACTION == 'request') { $accountKey = $account_logged->getCustomField('key'); if (!empty($key) && $key == $accountKey) { - $clock = new NativeClock(); - $secret = getSession('2fa_secret'); if ($secret === null) { $secret = generateRandom2faSecret();