[Web] mobileconfig: Wait for a pending account setup

This commit is contained in:
FreddleSpl0it committed 2026-11-04 15:44:57 +01:00
1 parent a2ab4301e7
commit 716f67844d
1 file changed
+4
+4
View File
@@ -12,6 +12,10 @@ if (!isset($_SESSION['mailcow_cc_role']) || $_SESSION['mailcow_cc_role'] != 'use
header('Location: index.php?mobileconfig' . $append_get); header('Location: index.php?mobileconfig' . $append_get);
die(); die();
} }
if (!empty($_SESSION['pending_tfa_setup']) || !empty($_SESSION['pending_pw_update'])) {
header('Location: /');
die();
}
error_reporting(0); error_reporting(0);