From 0161c7c6393e1d1d7f753ee3ad10f947da75f17f Mon Sep 17 00:00:00 2001 From: Austin Date: Fri, 12 Nov 2021 12:59:21 -0500 Subject: [PATCH] 2fa prep --- html_api/settings/index.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/html_api/settings/index.php b/html_api/settings/index.php index e0f5bf2..9546d2e 100644 --- a/html_api/settings/index.php +++ b/html_api/settings/index.php @@ -26,6 +26,9 @@ $joinpref = $userquery->canJoin; $tradepref = null; $theme = $userquery->theme; +//initialize 2FA in the database if it hasnt been already +initialize2FA($userid); + $userInfo = array ( "userid" => $userid, "username" => $username,