aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2020-07-14 13:12:16 -0500
committerMark Felder <feld@FreeBSD.org>2020-07-14 13:12:16 -0500
commit37297a8482eedbb0a3adab2748b3e76401d87e4a (patch)
tree6014600b4f764de605db2d169512bb227b720b57 /lib
parent62fc8eab0dfd3f4c60c8f36fd3a544d6785ff2c6 (diff)
downloadpleroma-37297a8482eedbb0a3adab2748b3e76401d87e4a.tar.gz
Improve error messages
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/application_requirements.ex4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pleroma/application_requirements.ex b/lib/pleroma/application_requirements.ex
index f0f34734e..d51160b82 100644
--- a/lib/pleroma/application_requirements.ex
+++ b/lib/pleroma/application_requirements.ex
@@ -31,10 +31,10 @@ defmodule Pleroma.ApplicationRequirements do
if Pleroma.Config.get([:instance, :account_activation_required]) &&
not Pleroma.Config.get([Pleroma.Emails.Mailer, :enabled]) do
Logger.error(
- "To use confirmation an user account need to enable and setting mailer.\nIf you want to start Pleroma anyway, set\nconfig :pleroma, :instance, account_activation_required: false\nOtherwise setup and enable mailer."
+ "Account activation enabled, but no Mailer settings enabled.\nPlease set config :pleroma, :instance, account_activation_required: false\nOtherwise setup and enable Mailer."
)
- {:error, "Confirmation account: Mailer is disabled"}
+ {:error, "Account activation enabled, but Mailer is disabled. Cannot send confirmation emails."}
else
:ok
end