1 # Pleroma: A lightweight social networking server
2 # Copyright © 2017-2018 Pleroma Authors <https://pleroma.social/>
3 # SPDX-License-Identifier: AGPL-3.0-only
5 defmodule Pleroma.Captcha.Mock do
6 alias Pleroma.Captcha.Service
10 def new(), do: %{type: :mock}
13 def validate(_token, _captcha), do: true
16 def cleanup(), do: :ok