Add registration captcha support
This commit is contained in:
parent
f08cce5aed
commit
df82d2d4f1
9 changed files with 254 additions and 31 deletions
9
conf/example/captcha.toml
Normal file
9
conf/example/captcha.toml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
[hcaptcha]
|
||||
# Site key from hCaptcha. The value here by default is the dummy test key for local testing
|
||||
site-key = "10000000-ffff-ffff-ffff-000000000001"
|
||||
# Secret key from hCaptcha. The value here by default is the dummy test key for local testing
|
||||
secret = "0x0000000000000000000000000000000000000000"
|
||||
|
||||
[register]
|
||||
# Whether to require a captcha for registration
|
||||
enabled = true
|
||||
Loading…
Add table
Add a link
Reference in a new issue