mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-11-05 07:58:20 +00:00
[Web] mobileconfig: Wait for a pending account setup
This commit is contained in:
1 file changed
+4
@@ -12,6 +12,10 @@ if (!isset($_SESSION['mailcow_cc_role']) || $_SESSION['mailcow_cc_role'] != 'use
|
||||
header('Location: index.php?mobileconfig' . $append_get);
|
||||
die();
|
||||
}
|
||||
if (!empty($_SESSION['pending_tfa_setup']) || !empty($_SESSION['pending_pw_update'])) {
|
||||
header('Location: /');
|
||||
die();
|
||||
}
|
||||
|
||||
error_reporting(0);
|
||||
|
||||
|
||||
Reference in new issue
Block a user