summaryrefslogtreecommitdiff
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.ex3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pleroma/captcha/native.ex b/lib/pleroma/captcha/native.ex
index a90631d61..8d604d2b2 100644
--- a/lib/pleroma/captcha/native.ex
+++ b/lib/pleroma/captcha/native.ex
@@ -17,7 +17,8 @@ defmodule Pleroma.Captcha.Native do
type: :native,
token: token(),
url: "data:image/png;base64," <> Base.encode64(img_binary),
- answer_data: answer_data
+ answer_data: answer_data,
+ seconds_valid: Pleroma.Config.get([Pleroma.Captcha, :seconds_valid])
}
end
end