diff options
author | Egor Kislitsyn <egor@kislitsyn.com> | 2019-12-11 22:29:31 +0700 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-12-13 21:30:11 +0300 |
commit | bf9d631fcaca072ae7adfdc77c78c1e4dfeffc5c (patch) | |
tree | d9ede5c0c8db60e24d851a75c8612766eace5340 /config/config.exs | |
parent | 865cd2c7c47e3a1e1f5fd9c4bebe9caf9398c315 (diff) | |
download | pleroma-bf9d631fcaca072ae7adfdc77c78c1e4dfeffc5c.tar.gz pleroma-bf9d631fcaca072ae7adfdc77c78c1e4dfeffc5c.zip |
Add native captcha and enable it by default.
Diffstat (limited to 'config/config.exs')
-rw-r--r-- | config/config.exs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/config/config.exs b/config/config.exs index 4efadb823..d2f081dd8 100644 --- a/config/config.exs +++ b/config/config.exs @@ -52,9 +52,9 @@ config :pleroma, Pleroma.Repo, migration_lock: nil config :pleroma, Pleroma.Captcha, - enabled: false, + enabled: true, seconds_valid: 60, - method: Pleroma.Captcha.Kocaptcha + method: Pleroma.Captcha.Native config :pleroma, :hackney_pools, federation: [ @@ -70,8 +70,6 @@ config :pleroma, :hackney_pools, timeout: 300_000 ] -config :pleroma, Pleroma.Captcha.Kocaptcha, endpoint: "https://captcha.kotobank.ch" - # Upload configuration config :pleroma, Pleroma.Upload, uploader: Pleroma.Uploaders.Local, |