fix typo in varchar length of selector field of new panel_2fa_tokens table, thx to Davidd

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2024-08-14 20:24:24 +02:00
parent a60c21218c
commit 19995f4345
4 changed files with 15 additions and 3 deletions

View File

@@ -394,6 +394,9 @@ if ($action == '2fa_entercode') {
}
exit();
}
// not found or invalid, this cookie is useless, get rid of it
unset($_COOKIE['frx_2fa_remember']);
setcookie('frx_2fa_remember', "", time()-3600);
}
// redirect to code-enter-page