feat: load config to make captcha stats optional

This commit is contained in:
realaravinth
2022-05-27 15:25:33 +05:30
parent 4cd4605266
commit 851874f8cf
2 changed files with 5 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ salt = "asdl;kjfhjawehfpa;osdkjasdvjaksndfpoanjdfainsdfaijdsfajlkjdsaf;ajsdfwero
# garbage collection period to manage mCaptcha system
# leave untouched if you don't know what you are doing
gc = 30
enable_stats = true
[captcha.default_difficulty_strategy]
avg_traffic_difficulty = 50000 # almost instant solution