aboutsummaryrefslogtreecommitdiffstats
path: root/start
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
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')
-rw-r--r--start/events.js4
-rw-r--r--start/routes.js2
2 files changed, 3 insertions, 3 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 });
diff --git a/start/routes.js b/start/routes.js
index f269dc8..64a7605 100644
--- a/start/routes.js
+++ b/start/routes.js
@@ -114,7 +114,7 @@ Route.get('new', ({ response, view }) => {
114 return view.render('others.new'); 114 return view.render('others.new');
115}); 115});
116 116
117// Franz account import 117// Franz/Ferdi account import
118Route.post('import', 'UserController.import'); 118Route.post('import', 'UserController.import');
119Route.get('import', ({ view }) => view.render('others.import')); 119Route.get('import', ({ view }) => view.render('others.import'));
120 120