From f8e832da4c59e6160712c5d1416a5d9442d52191 Mon Sep 17 00:00:00 2001
From: Rosanny <rosanny.sihombing@hft-stuttgart.de>
Date: Tue, 19 Oct 2021 14:08:31 +0200
Subject: [PATCH] MLAB-602: fixing update password

---
 routes/account.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/routes/account.ts b/routes/account.ts
index ce921c56..f47a1ac4 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 {
-- 
GitLab