336e37d98f
Also rename seconds_retained to seconds_valid since that's how it is now. Put it down from 180 to 20 seconds. The answer data is now stored in an encrypted text transfered to the client and back, so no ETS is needed
11 lines
206 B
Elixir
11 lines
206 B
Elixir
defmodule Pleroma.Captcha.Mock do
|
|
alias Pleroma.Captcha.Service
|
|
@behaviour Service
|
|
|
|
@impl Service
|
|
def new(), do: %{type: :mock}
|
|
|
|
@impl Service
|
|
def validate(_token, _captcha, _data), do: :ok
|
|
end
|