diff options
author | Bennett <hello@vantezzen.io> | 2020-03-10 15:11:03 +0100 |
---|---|---|
committer | Bennett <hello@vantezzen.io> | 2020-03-10 15:11:03 +0100 |
commit | bca1ffbd601a19245717752df9f312172aaa3bf8 (patch) | |
tree | 6c73a7554d651de1fcc3fb04c11868675c2d858d /app/Controllers/Http/DashboardController.js | |
parent | Merge branch 'master' of https://github.com/getferdi/server (diff) | |
download | ferdium-server-bca1ffbd601a19245717752df9f312172aaa3bf8.tar.gz ferdium-server-bca1ffbd601a19245717752df9f312172aaa3bf8.tar.zst ferdium-server-bca1ffbd601a19245717752df9f312172aaa3bf8.zip |
Add "IS_REGISTRATION_ENABLED" option
Diffstat (limited to 'app/Controllers/Http/DashboardController.js')
-rw-r--r-- | app/Controllers/Http/DashboardController.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/Controllers/Http/DashboardController.js b/app/Controllers/Http/DashboardController.js index 1018f78..86cfa74 100644 --- a/app/Controllers/Http/DashboardController.js +++ b/app/Controllers/Http/DashboardController.js | |||
@@ -181,7 +181,6 @@ class DashboardController { | |||
181 | session.flash({ type: 'danger', message: 'Invalid Ferdi account file' }); | 181 | session.flash({ type: 'danger', message: 'Invalid Ferdi account file' }); |
182 | return response.redirect('back'); | 182 | return response.redirect('back'); |
183 | } | 183 | } |
184 | console.log(file); | ||
185 | 184 | ||
186 | if (!file || !file.services || !file.workspaces) { | 185 | if (!file || !file.services || !file.workspaces) { |
187 | session.flash({ type: 'danger', message: 'Invalid Ferdi account file (2)' }); | 186 | session.flash({ type: 'danger', message: 'Invalid Ferdi account file (2)' }); |