aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/captcha/native.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pleroma/captcha/native.ex')
-rw-r--r--lib/pleroma/captcha/native.ex4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pleroma/captcha/native.ex b/lib/pleroma/captcha/native.ex
index 5306fe1aa..2c8db2c30 100644
--- a/lib/pleroma/captcha/native.ex
+++ b/lib/pleroma/captcha/native.ex
@@ -10,8 +10,8 @@ defmodule Pleroma.Captcha.Native do
@impl Service
def new do
case Captcha.get() do
- {:timeout} ->
- %{error: dgettext("errors", "Captcha timeout")}
+ :error ->
+ %{error: dgettext("errors", "Captcha error")}
{:ok, answer_data, img_binary} ->
%{