diff --git a/html/2fa.php b/html/2fa.php index cb73953..69e94c6 100644 --- a/html/2fa.php +++ b/html/2fa.php @@ -12,6 +12,12 @@ if(isset($_POST['submit_2fa'])) redirect("/"); } +if(isset($_POST['logout'])) +{ + $user->logout(); + redirect("/"); +} + $body = <<
@@ -37,6 +43,9 @@ $body = <<
+
+ +