"Account activation enabled, but no Mailer settings enabled.\nPlease set config :pleroma, :instance, account_activation_required: false\nOtherwise setup and enable Mailer."
)
- {:error, "Account activation enabled, but Mailer is disabled. Cannot send confirmation emails."}
+ {:error,
+ "Account activation enabled, but Mailer is disabled. Cannot send confirmation emails."}
else
:ok
end
Pleroma.Config.put([Pleroma.Emails.Mailer, :enabled], false)
assert_raise Pleroma.ApplicationRequirements.VerifyError,
- "Confirmation account: Mailer is disabled",
+ "Account activation enabled, but Mailer is disabled. Cannot send confirmation emails.",
fn ->
capture_log(&Pleroma.ApplicationRequirements.verify!/0)
end