[Web] Add forced 2FA setup and password update enforcement
This commit is contained in:
33 files changed
+810
-285
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user