Added urlpath to smtpTest function

This commit is contained in:
BlackDex 2020-02-26 16:58:57 +01:00
parent f6de144cbb
commit 97fb7b5b96

View file

@ -286,7 +286,7 @@
inv = document.getElementById("smtp-test-email");
data = JSON.stringify({ "email": inv.value });
inv.value = "";
_post("/admin/test/smtp/",
_post("{{urlpath}}/admin/test/smtp/",
"SMTP Test email sent correctly",
"Error sending SMTP test email", data);
return false;