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
65ac749d
Commit
65ac749d
authored
Sep 27, 2021
by
Wolfgang Knopki
Browse files
Update account.ts
parent
bdead1f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
routes/account.ts
View file @
65ac749d
...
...
@@ -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
}
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