Expose seconds_valid in Pleroma Captcha API endpoint

This commit is contained in:
Mark Felder 2020-07-29 16:07:22 -05:00
commit 33f0427809
6 changed files with 12 additions and 6 deletions

View file

@ -16,7 +16,8 @@ defmodule Pleroma.Captcha.Mock do
type: :mock,
token: "afa1815e14e29355e6c8f6b143a39fa2",
answer_data: @solution,
url: "https://example.org/captcha.png"
url: "https://example.org/captcha.png",
seconds_valid: 300
}
@impl Service