Merge branch 'captcha' into 'develop'
Make captcha (kocaptcha) stateless See merge request pleroma/pleroma!585
This commit is contained in:
commit
b73a1a33de
10 changed files with 127 additions and 99 deletions
|
|
@ -10,8 +10,5 @@ defmodule Pleroma.Captcha.Mock do
|
|||
def new(), do: %{type: :mock}
|
||||
|
||||
@impl Service
|
||||
def validate(_token, _captcha), do: true
|
||||
|
||||
@impl Service
|
||||
def cleanup(), do: :ok
|
||||
def validate(_token, _captcha, _data), do: :ok
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue