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
681601bb
Commit
681601bb
authored
Jul 12, 2022
by
Rosanny Sihombing
Browse files
MLAB-671
parent
c26cf70c
Changes
1
Show whitespace changes
Inline
Side-by-side
src/routes/account.ts
View file @
681601bb
...
@@ -369,7 +369,7 @@ module.exports = function (app: any, config: any, passport: any, lang: string) {
...
@@ -369,7 +369,7 @@ module.exports = function (app: any, config: any, passport: any, lang: string) {
mailer
.
options
.
to
=
loggedInUser
.
email
mailer
.
options
.
to
=
loggedInUser
.
email
mailer
.
options
.
subject
=
emailSubject
mailer
.
options
.
subject
=
emailSubject
mailer
.
options
.
html
=
emailContent
mailer
.
options
.
html
=
emailContent
mailer
.
transport
.
sendMail
(
mailer
.
options
,
function
(
err
:
any
)
{
mailer
.
transport
er
.
sendMail
(
mailer
.
options
,
function
(
err
:
any
)
{
if
(
err
)
{
if
(
err
)
{
console
.
log
(
'
cannot send email
'
)
console
.
log
(
'
cannot send email
'
)
throw
err
throw
err
...
...
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