Clean captchas up periodically, not schedule it after theyre created
This commit is contained in:
parent
73576ab64e
commit
ef6829382a
4 changed files with 30 additions and 20 deletions
|
|
@ -9,5 +9,5 @@ defmodule Pleroma.Captcha.Mock do
|
|||
def validate(_token, _captcha), do: true
|
||||
|
||||
@impl Service
|
||||
def cleanup(_token), do: true
|
||||
def cleanup(), do: :ok
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue