diff options
author | Vijay Aravamudhan <vraravam@users.noreply.github.com> | 2022-04-24 12:23:44 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-24 12:23:44 -0500 |
commit | 442ef142fc4bd7c430d8a1314535f03576f616f6 (patch) | |
tree | 10d8df84e8c5ba68b7dd0bf6bc1e0add6a766b63 /start | |
parent | fix: branding on README.md (diff) | |
download | ferdium-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.js | 4 | ||||
-rw-r--r-- | start/routes.js | 2 |
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'); | |||
5 | Event.on('forgot::password', async ({ user, token }) => { | 5 | Event.on('forgot::password', async ({ user, token }) => { |
6 | const body = ` | 6 | const body = ` |
7 | Hello ${user.username}, | 7 | Hello ${user.username}, |
8 | we received a request to reset your Ferdi account password. | 8 | we received a request to reset your Ferdium account password. |
9 | Use the link below to reset your password. If you didn't requested that your password be reset, please ignore this message. | 9 | Use 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 |
118 | Route.post('import', 'UserController.import'); | 118 | Route.post('import', 'UserController.import'); |
119 | Route.get('import', ({ view }) => view.render('others.import')); | 119 | Route.get('import', ({ view }) => view.render('others.import')); |
120 | 120 | ||