summaryrefslogtreecommitdiff
path: root/web/share/js/login
diff options
context:
space:
mode:
Diffstat (limited to 'web/share/js/login')
-rw-r--r--web/share/js/login/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/share/js/login/main.js b/web/share/js/login/main.js
index bf185bf0..cd0746fc 100644
--- a/web/share/js/login/main.js
+++ b/web/share/js/login/main.js
@@ -45,7 +45,7 @@ function __login() {
} else {
let passwd = $("passwd-input").value;
let body = `user=${encodeURIComponent(user)}&passwd=${encodeURIComponent(passwd)}`;
- let http = tools.makeRequest("POST", "/kvmd/auth/login", function() {
+ let http = tools.makeRequest("POST", "/api/auth/login", function() {
if (http.readyState === 4) {
if (http.status === 200) {
document.location.href = "/";