do not renew domains when ssl_redirect is 2 because we have already added a task to do it later when redirect is temporarily disabled

Signed-off-by: Maurice Preuß (envoyr) <envoyr@froxlor.org>
This commit is contained in:
Maurice Preuß (envoyr)
2025-02-27 00:30:04 +01:00
parent ceb7f5b23d
commit 2e18d7c581

View File

@@ -397,6 +397,7 @@ EOC;
AND dom.`aliasdomain` IS NULL
AND dom.`iswildcarddomain` = 0
AND dom.`email_only` = 0
AND dom.`ssl_redirect` != 2
");
$renew_certs = $certificates_stmt->fetchAll(PDO::FETCH_ASSOC);
if ($renew_certs) {