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
2d93e45c
Commit
2d93e45c
authored
Jul 12, 2022
by
Rosanny Sihombing
Browse files
MLAB-671
parent
bcc720ed
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/app.ts
View file @
2d93e45c
...
...
@@ -49,7 +49,7 @@ app.use(cookieParser(config.app.sessionSecret))
app
.
use
(
bodyParser
.
json
())
app
.
use
(
bodyParser
.
urlencoded
({
extended
:
false
}))
app
.
use
(
express
.
static
(
path
.
join
(
__dirname
,
'
public
'
)))
app
.
use
((
req
,
res
,
next
)
=>
{
app
.
use
((
req
:
any
,
res
:
any
,
next
:
any
)
=>
{
next
()
})
...
...
@@ -64,7 +64,7 @@ app.use(passport.session())
// caching disabled for every route
// NOTE: Works in Firefox and Opera. Does not work in Edge
app
.
use
(
function
(
req
,
res
,
next
)
{
app
.
use
(
function
(
req
:
any
,
res
:
any
,
next
:
any
)
{
res
.
set
(
'
Cache-Control
'
,
'
no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0
'
)
next
()
})
...
...
src/views/DE/account/home.pug
View file @
2d93e45c
...
...
@@ -61,7 +61,7 @@ html(lang="de")
// call verifyAccount
function verify() {
$(".spinner-border").show()
$.get( "/resendVerificationEmail", function( data ) {
$.get( "/
account/
resendVerificationEmail", function( data ) {
if (data) { alert( "Email sent!" ) }
else { alert("Please contact support-transfer@hft-stuttgart.de to verify your account.") }
})
...
...
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