fix action method

This commit is contained in:
Matteo Pagliazzi
2015-11-18 18:16:14 +01:00
parent de75849c7a
commit bd980e166b

View File

@@ -32,7 +32,7 @@ let api = {};
* @apiUse NotAuthorized * @apiUse NotAuthorized
*/ */
api.loginLocal = { api.loginLocal = {
method: 'GET', method: 'POST',
url: '/user/login/local', url: '/user/login/local',
middlewares: [getUserLanguage], middlewares: [getUserLanguage],
handler (req, res, next) { handler (req, res, next) {