Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
3 years ago
by
Wolfgang Knopki
Browse files
Options
Download
Email Patches
Plain Diff
Update account.ts
parent
bdead1f1
master
1 merge request
!120
Update account.ts
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
routes/account.ts
+2
-2
routes/account.ts
with
2 additions
and
2 deletions
+2
-2
routes/account.ts
+
2
-
2
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
}
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
Menu
Explore
Projects
Groups
Snippets