Make captcha (kocaptcha) stateless
Also rename seconds_retained to seconds_valid since that's how it is now. Put it down from 180 to 20 seconds. The answer data is now stored in an encrypted text transfered to the client and back, so no ETS is needed
This commit is contained in:
parent
61a88a6757
commit
336e37d98f
8 changed files with 82 additions and 92 deletions
|
|
@ -168,7 +168,7 @@ Web Push Notifications configuration. You can use the mix task `mix web_push.gen
|
|||
## Pleroma.Captcha
|
||||
* `enabled`: Whether the captcha should be shown on registration
|
||||
* `method`: The method/service to use for captcha
|
||||
* `seconds_retained`: The time in seconds for which the captcha is valid (stored in the cache)
|
||||
* `seconds_valid`: The time in seconds for which the captcha is valid
|
||||
|
||||
### Pleroma.Captcha.Kocaptcha
|
||||
Kocaptcha is a very simple captcha service with a single API endpoint,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue