From bd980e166b942013329d4d51a1e6addba3cba78c Mon Sep 17 00:00:00 2001 From: Matteo Pagliazzi Date: Wed, 18 Nov 2015 18:16:14 +0100 Subject: [PATCH] fix action method --- website/src/controllers/api-v3/user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/controllers/api-v3/user.js b/website/src/controllers/api-v3/user.js index 784f602ffd..db5f23a57d 100644 --- a/website/src/controllers/api-v3/user.js +++ b/website/src/controllers/api-v3/user.js @@ -32,7 +32,7 @@ let api = {}; * @apiUse NotAuthorized */ api.loginLocal = { - method: 'GET', + method: 'POST', url: '/user/login/local', middlewares: [getUserLanguage], handler (req, res, next) {