Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
m4lab_tv1
User Account
Commits
f8e832da
Commit
f8e832da
authored
Oct 19, 2021
by
Rosanny Sihombing
Browse files
MLAB-602: fixing update password
parent
19179d55
Changes
1
Hide whitespace changes
Inline
Side-by-side
routes/account.ts
View file @
f8e832da
...
...
@@ -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
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment