diff --git a/config/installation_config.yml b/config/installation_config.yml index 4c21d6003..22a3eb997 100644 --- a/config/installation_config.yml +++ b/config/installation_config.yml @@ -18,3 +18,5 @@ value: - name: MAILER_SUPPORT_EMAIL value: +- name: CREATE_NEW_ACCOUNT_FROM_DASHBOARD + value: false diff --git a/lib/tasks/db_enhancements.rake b/lib/tasks/db_enhancements.rake new file mode 100644 index 000000000..de2c24838 --- /dev/null +++ b/lib/tasks/db_enhancements.rake @@ -0,0 +1,5 @@ +# We are hooking config loader to run automatically everytime migration is executed +Rake::Task['db:migrate'].enhance do + puts 'Loading Installation config' + ConfigLoader.new.process +end