aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend
diff options
context:
space:
mode:
Diffstat (limited to 'frontend')
-rw-r--r--frontend/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/js/app.js b/frontend/js/app.js
index b07560a..de61dcf 100644
--- a/frontend/js/app.js
+++ b/frontend/js/app.js
@@ -27,7 +27,7 @@ function login(username, password) {
27 27
28 app.busy = true; 28 app.busy = true;
29 29
30 superagent.post('/api/login').query({ username: username, password: password }).end(function (error, result) { 30 superagent.post('/api/login').send({ username: username, password: password }).end(function (error, result) {
31 app.busy = false; 31 app.busy = false;
32 32
33 if (error) return console.error(error); 33 if (error) return console.error(error);