Allow a bit better granularity for the difficulty. Recommend an "easier" challenge in terms of memory and iterations, but higher diff.

Make failed request for captcha/bot form show a little error text.
Make CHALLENGE_INCLUDES_IP "1" = on, anything else = off instead of needing to be unset.
This commit is contained in:
Thomas Lynch
2022-10-01 05:31:47 +10:00
parent 434756a7a1
commit eede92d47d
5 changed files with 35 additions and 14 deletions

View File

@@ -35,9 +35,9 @@ services:
- BACKEND_NAME=servers
- SERVER_PREFIX=websrv
- CHALLENGE_INCLUDES_IP=1
- POW_TIME=1
- POW_KB=6000
- POW_DIFFICULTY=3
- POW_TIME=2
- POW_KB=512
- POW_DIFFICULTY=25
nginx:
ports: