mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
fix action method
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user