From 65ac749d510d2793df8dc9318a5d4c4ee28aa7c5 Mon Sep 17 00:00:00 2001 From: Wolfgang Knopki Date: Mon, 27 Sep 2021 11:21:26 +0000 Subject: [PATCH] Update account.ts --- routes/account.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routes/account.ts b/routes/account.ts index 68c3ca61..15a972e6 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 +} -- GitLab