Add base CAPTCHA support (currently only kocaptcha)
This commit is contained in:
parent
e74f384b68
commit
a2399c1c7c
6 changed files with 109 additions and 19 deletions
|
|
@ -10,6 +10,13 @@ config :pleroma, ecto_repos: [Pleroma.Repo]
|
|||
|
||||
config :pleroma, Pleroma.Repo, types: Pleroma.PostgresTypes
|
||||
|
||||
config :pleroma, Pleroma.Captcha,
|
||||
method: Pleroma.Captcha.Kocaptcha
|
||||
|
||||
# Kocaptcha is a very simple captcha service, the source code is here: https://github.com/koto-bank/kocaptcha
|
||||
config :pleroma, Pleroma.Captcha.Kocaptcha,
|
||||
endpoint: "http://localhost:9093"
|
||||
|
||||
# Upload configuration
|
||||
config :pleroma, Pleroma.Upload,
|
||||
uploader: Pleroma.Uploaders.Local,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue