ServerCleanUp

This commit is contained in:
JonatanRek
2020-05-02 21:24:21 +02:00
parent 4113296f86
commit 8f13c7ee5d
22 changed files with 4 additions and 1452 deletions

View File

@@ -40,7 +40,7 @@ if (
$checkResult = $ga->verifyCode($otaSecret, $otaCode, 2); // 2 = 2*30sec clock tolerance
if ($checkResult) {
$landingPage = $userManager->login($userName, $userPassword, $rememberMe);
header('Location: ' . BASEURL . $landingPage);
header('Location: ' . BASEURL . '/');
echo 'OK';
} else {
echo 'FAILED';