diff --git a/routes/account.ts b/routes/account.ts index ce921c566f399a42066788af923c28e8b935c798..f47a1ac4892fdd663bbb3c1e86d66c17c96a20fb 100644 --- a/routes/account.ts +++ b/routes/account.ts @@ -286,7 +286,7 @@ export = function (app:any, config:any, passport:any, lang:string) { } }); - app.post('/account/changePwd', async function (req:any, res:any) { + app.post('/changePwd', async function (req:any, res:any) { if( !req.isAuthenticated() ) { res.redirect('/login') } else {