projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Clean captchas up periodically, not schedule it after theyre created
[akkoma]
/
test
/
support
/
captcha_mock.ex
1
defmodule Pleroma.Captcha.Mock do
2
alias Pleroma.Captcha.Service
3
@behaviour Service
4
5
@impl Service
6
def new(), do: %{type: :mock}
7
8
@impl Service
9
def validate(_token, _captcha), do: true
10
11
@impl Service
12
def cleanup(), do: :ok
13
end