fix multidomain missing logic

This commit is contained in:
dalun 2023-09-08 23:12:13 +00:00
parent 83f574e3ab
commit 1180da8d11

View File

@ -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;
}