aboutsummaryrefslogtreecommitdiffstats
path: root/src/internal-server/app/Controllers/Http/UserController.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal-server/app/Controllers/Http/UserController.js')
-rw-r--r--src/internal-server/app/Controllers/Http/UserController.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/internal-server/app/Controllers/Http/UserController.js b/src/internal-server/app/Controllers/Http/UserController.js
index abfbc2470..6bd4f85a7 100644
--- a/src/internal-server/app/Controllers/Http/UserController.js
+++ b/src/internal-server/app/Controllers/Http/UserController.js
@@ -38,7 +38,7 @@ const DEFAULT_USER_DATA = {
38 email: '', 38 email: '',
39 emailValidated: true, 39 emailValidated: true,
40 features: {}, 40 features: {},
41 firstname: 'Ferdi', 41 firstname: 'Ferdium',
42 id: '82c1cf9d-ab58-4da2-b55e-aaa41d2142d8', 42 id: '82c1cf9d-ab58-4da2-b55e-aaa41d2142d8',
43 isSubscriptionOwner: true, 43 isSubscriptionOwner: true,
44 lastname: 'Application', 44 lastname: 'Application',
@@ -221,7 +221,7 @@ class UserController {
221 } 221 }
222 222
223 return response.send( 223 return response.send(
224 'Your account has been imported. You can now use your Franz account in Ferdi.', 224 'Your account has been imported. You can now use your Franz account in Ferdium.',
225 ); 225 );
226 } 226 }
227 227
@@ -237,19 +237,19 @@ class UserController {
237 const workspaces = allWorkspaces.toJSON(); 237 const workspaces = allWorkspaces.toJSON();
238 238
239 const exportData = { 239 const exportData = {
240 username: 'Ferdi', 240 username: 'Ferdium',
241 mail: 'internal@getferdi.com', 241 mail: 'internal@ferdium.org',
242 services, 242 services,
243 workspaces, 243 workspaces,
244 }; 244 };
245 245
246 return response 246 return response
247 .header('Content-Type', 'application/force-download') 247 .header('Content-Type', 'application/force-download')
248 .header('Content-disposition', 'attachment; filename=export.ferdi-data') 248 .header('Content-disposition', 'attachment; filename=export.ferdium-data')
249 .send(exportData); 249 .send(exportData);
250 } 250 }
251 251
252 async importFerdi({ request, response }) { 252 async importFerdium({ request, response }) {
253 const validation = await validateAll(request.all(), { 253 const validation = await validateAll(request.all(), {
254 file: 'required', 254 file: 'required',
255 }); 255 });