[Dovecot, Web] Allow SOGo access with app password when imap is disabled; Add sieve to mailbox protocol access restrictions

This commit is contained in:
andryyy
2021-10-30 08:03:41 +02:00
parent 51c8d43223
commit 644b1f85d1
6 changed files with 28 additions and 11 deletions

View File

@@ -42,7 +42,9 @@ foreach ($globalVariables as $globalVariableName => $globalVariableValue) {
$twig->addGlobal($globalVariableName, $globalVariableValue);
}
echo $twig->render($template, $template_data);
if (is_array($template_data)) {
echo $twig->render($template, $template_data);
}
if (isset($_SESSION['mailcow_cc_api'])) {
session_regenerate_id(true);