Add native captcha and enable it by default.
This commit is contained in:
parent
79532a7f7c
commit
e536796984
7 changed files with 67 additions and 4 deletions
|
|
@ -66,9 +66,9 @@ config :pleroma, Pleroma.Scheduler,
|
|||
jobs: scheduled_jobs
|
||||
|
||||
config :pleroma, Pleroma.Captcha,
|
||||
enabled: false,
|
||||
enabled: true,
|
||||
seconds_valid: 60,
|
||||
method: Pleroma.Captcha.Kocaptcha
|
||||
method: Pleroma.Captcha.Native
|
||||
|
||||
config :pleroma, :hackney_pools,
|
||||
federation: [
|
||||
|
|
@ -84,8 +84,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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue