projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'develop' into gun
[akkoma]
/
lib
/
pleroma
/
captcha
/
native.ex
diff --git
a/lib/pleroma/captcha/native.ex
b/lib/pleroma/captcha/native.ex
index 5306fe1aa13d4e470860b31b704c1a27c41b8972..2c8db2c30d91ca355df9a004eba62e95ce280e2b 100644
(file)
--- 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
@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} ->
%{
{:ok, answer_data, img_binary} ->
%{