From 1180da8d1185ab45685cbb5262f40be42992152b Mon Sep 17 00:00:00 2001 From: dalun Date: Fri, 8 Sep 2023 23:12:13 +0000 Subject: [PATCH] fix multidomain missing logic --- src/web/snippet/acme.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/web/snippet/acme.html b/src/web/snippet/acme.html index be1a8f9..2a8e1a8 100644 --- a/src/web/snippet/acme.html +++ b/src/web/snippet/acme.html @@ -334,8 +334,9 @@ //Invalid settings. Force the filename to be same as domain //if there are only 1 domain filename = domains; - }else{ - parent.msgbox("Filename cannot be empty for certs containing multiple domains.") + }else if (filename == "" && domains.includes(",")){ + parent.msgbox("Filename cannot be empty for certs containing multiple domains.", false, 5000); + $("#obtainButton").removeClass("loading").removeClass("disabled"); return; }