Do not enable email service by default
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Râu Cao 2024-01-26 09:38:38 +03:00
parent aa9178d569
commit c32fc51aab
Signed by: raucao
GPG Key ID: 37036C356E56CC51

View File

@ -97,7 +97,7 @@ class User < ApplicationRecord
# E-Mail from signup confirmed (i.e. account activation) # E-Mail from signup confirmed (i.e. account activation)
# TODO Make configurable, only activate globally enabled services # TODO Make configurable, only activate globally enabled services
enable_service %w[ discourse email gitea mediawiki xmpp ] enable_service %w[ discourse gitea mediawiki xmpp ]
# TODO enable in development when we have easy setup of ejabberd etc. # TODO enable in development when we have easy setup of ejabberd etc.
return if Rails.env.development? || !Setting.ejabberd_enabled? return if Rails.env.development? || !Setting.ejabberd_enabled?