Make the hosted kocaptcha the default value

This commit is contained in:
Ekaterina Vaartis 2018-12-16 22:37:16 +03:00
parent 6062885df6
commit 1d31fd0722
2 changed files with 3 additions and 2 deletions

View File

@ -15,7 +15,7 @@ config :pleroma, Pleroma.Captcha,
minutes_retained: 5, minutes_retained: 5,
method: Pleroma.Captcha.Kocaptcha method: Pleroma.Captcha.Kocaptcha
config :pleroma, Pleroma.Captcha.Kocaptcha, endpoint: "http://localhost:9093" config :pleroma, Pleroma.Captcha.Kocaptcha, endpoint: "https://captcha.kotobank.ch"
# Upload configuration # Upload configuration
config :pleroma, Pleroma.Upload, config :pleroma, Pleroma.Upload,

View File

@ -171,6 +171,7 @@ Web Push Notifications configuration. You can use the mix task `mix web_push.gen
### Pleroma.Captcha.Kocaptcha ### Pleroma.Captcha.Kocaptcha
Kocaptcha is a very simple captcha service with a single API endpoint, Kocaptcha is a very simple captcha service with a single API endpoint,
the source code is here: https://github.com/koto-bank/kocaptcha the source code is here: https://github.com/koto-bank/kocaptcha. The default endpoint
`https://captcha.kotobank.ch` is hosted by the developer.
* `endpoint`: the kocaptcha endpoint to use * `endpoint`: the kocaptcha endpoint to use