1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2026-04-11 11:38:45 +00:00

[Web] Add forced 2FA setup and password update enforcement

This commit is contained in:
FreddleSpl0it
2026-02-24 10:44:33 +01:00
parent 404e2f0190
commit ad5b94af5e
33 changed files with 810 additions and 285 deletions

View File

@@ -169,6 +169,8 @@ if (isset($_GET['query'])) {
exit;
}
fido2(array("action" => "register", "registration" => $data));
// Release pending_tfa_setup session hold
unset($_SESSION['pending_tfa_setup']);
$return = new stdClass();
$return->success = true;
echo json_encode($return);