diff --git a/routes/account.ts b/routes/account.ts index 68c3ca613a942c9b1d8f75e072b07d0f4377d7c8..15a972e64f0817290d7148a4b3cbb0b4985a3c80 100644 --- a/routes/account.ts +++ b/routes/account.ts @@ -282,7 +282,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 { @@ -593,4 +593,4 @@ export = function (app:any, config:any, passport:any, lang:string) { } }) -} \ No newline at end of file +}