aboutsummaryrefslogtreecommitdiffstats
path: root/start/events.js
diff options
context:
space:
mode:
authorLibravatar Vijay Aravamudhan <vraravam@users.noreply.github.com>2022-04-24 12:23:44 -0500
committerLibravatar GitHub <noreply@github.com>2022-04-24 12:23:44 -0500
commit442ef142fc4bd7c430d8a1314535f03576f616f6 (patch)
tree10d8df84e8c5ba68b7dd0bf6bc1e0add6a766b63 /start/events.js
parentfix: branding on README.md (diff)
downloadferdium-server-442ef142fc4bd7c430d8a1314535f03576f616f6.tar.gz
ferdium-server-442ef142fc4bd7c430d8a1314535f03576f616f6.tar.zst
ferdium-server-442ef142fc4bd7c430d8a1314535f03576f616f6.zip
Rebranded from 'ferdi' to 'ferdium' (#4)
Diffstat (limited to 'start/events.js')
-rw-r--r--start/events.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/start/events.js b/start/events.js
index 481ad98..a99afd5 100644
--- a/start/events.js
+++ b/start/events.js
@@ -5,7 +5,7 @@ const Env = use('Env');
5Event.on('forgot::password', async ({ user, token }) => { 5Event.on('forgot::password', async ({ user, token }) => {
6 const body = ` 6 const body = `
7Hello ${user.username}, 7Hello ${user.username},
8we received a request to reset your Ferdi account password. 8we received a request to reset your Ferdium account password.
9Use the link below to reset your password. If you didn't requested that your password be reset, please ignore this message. 9Use the link below to reset your password. If you didn't requested that your password be reset, please ignore this message.
10 10
11${Env.get('APP_URL')}/user/reset?token=${encodeURIComponent(token)} 11${Env.get('APP_URL')}/user/reset?token=${encodeURIComponent(token)}
@@ -15,7 +15,7 @@ This message was sent automatically. Please do not reply.
15 console.log('Sending message', body); 15 console.log('Sending message', body);
16 try { 16 try {
17 await Mail.raw(body, (message) => { 17 await Mail.raw(body, (message) => {
18 message.subject('[Ferdi] Reset your password'); 18 message.subject('[Ferdium] Reset your password');
19 message.from(Env.get('MAIL_SENDER')); 19 message.from(Env.get('MAIL_SENDER'));
20 message.to(user.email); 20 message.to(user.email);
21 }); 21 });