aboutsummaryrefslogtreecommitdiffstats
path: root/app/Controllers/Http/DashboardController.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 /app/Controllers/Http/DashboardController.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 'app/Controllers/Http/DashboardController.js')
-rw-r--r--app/Controllers/Http/DashboardController.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Controllers/Http/DashboardController.js b/app/Controllers/Http/DashboardController.js
index 84a88a9..e7c38c2 100644
--- a/app/Controllers/Http/DashboardController.js
+++ b/app/Controllers/Http/DashboardController.js
@@ -222,14 +222,14 @@ class DashboardController {
222 try { 222 try {
223 file = JSON.parse(request.input('file')); 223 file = JSON.parse(request.input('file'));
224 } catch (e) { 224 } catch (e) {
225 session.flash({ type: 'danger', message: 'Invalid Ferdi account file' }); 225 session.flash({ type: 'danger', message: 'Invalid Ferdium account file' });
226 return response.redirect('back'); 226 return response.redirect('back');
227 } 227 }
228 228
229 if (!file || !file.services || !file.workspaces) { 229 if (!file || !file.services || !file.workspaces) {
230 session.flash({ 230 session.flash({
231 type: 'danger', 231 type: 'danger',
232 message: 'Invalid Ferdi account file (2)', 232 message: 'Invalid Ferdium account file (2)',
233 }); 233 });
234 return response.redirect('back'); 234 return response.redirect('back');
235 } 235 }