mirror of
https://github.com/dani-garcia/vaultwarden.wiki.git
synced 2026-10-23 15:28:09 +03:00
Added urlpath to smtpTest function
This commit is contained in:
1 parent
f6de144cbb
commit
97fb7b5b96
1 file changed
+1
-1
@@ -286,7 +286,7 @@
|
|||||||
inv = document.getElementById("smtp-test-email");
|
inv = document.getElementById("smtp-test-email");
|
||||||
data = JSON.stringify({ "email": inv.value });
|
data = JSON.stringify({ "email": inv.value });
|
||||||
inv.value = "";
|
inv.value = "";
|
||||||
_post("/admin/test/smtp/",
|
_post("{{urlpath}}/admin/test/smtp/",
|
||||||
"SMTP Test email sent correctly",
|
"SMTP Test email sent correctly",
|
||||||
"Error sending SMTP test email", data);
|
"Error sending SMTP test email", data);
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in new issue
Block a user