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
3 years ago
by
Rosanny Sihombing
Browse files
Options
Download
Email Patches
Plain Diff
MLAB-602: fixing update password
parent
19179d55
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
routes/account.ts
+1
-1
routes/account.ts
with
1 addition
and
1 deletion
+1
-1
routes/account.ts
+
1
-
1
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
{
...
...
This diff is collapsed.
Click to expand it.
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