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
df14a256
Commit
df14a256
authored
5 years ago
by
Wolfgang Knopki
Browse files
Options
Download
Email Patches
Plain Diff
email text adapted, hostname created from config file
parent
55626444
master
MLAB-677
devel
devel_wolfgang
patch-1
reset-jul13
reset-merge
test_logoutbutton
testing
1 merge request
!2
Mlab 56
Pipeline
#354
passed with stage
in 16 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
config/config.js
+1
-0
config/config.js
routes/routes.js
+1
-1
routes/routes.js
with
2 additions
and
1 deletion
+2
-1
config/config.js
+
1
-
0
View file @
df14a256
module
.
exports
=
{
development
:
{
app
:
{
hostname
:
'
m4lab.hft-stuttgart.de
'
,
name
:
'
User Account Management
'
,
port
:
process
.
env
.
PORT
||
9989
},
...
...
This diff is collapsed.
Click to expand it.
routes/routes.js
+
1
-
1
View file @
df14a256
...
...
@@ -314,7 +314,7 @@ module.exports = function (app, config, passport) {
emailSubject
=
"
M4_LAB Password Reset
"
;
emailContent
=
"
Hi User,
\n\n
"
+
"
we've received a request to reset your password. If you didn't make the request, just ignore this email.
\n\n
"
+
"
Otherwise, you can reset your password using this link: http://
"
+
req
.
headers
.
host
+
"
/reset/
"
+
token
+
"
\n
"
+
"
Otherwise, you can reset your password using this link: http
s
://
"
+
config
.
app
.
host
name
+
"
/reset/
"
+
token
+
"
\n
"
+
"
This password reset is only valid for 1 hour.
\n\n
"
+
"
Thanks,
\n
M4_LAB Team
"
...
...
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