From fa972878be992523ebf5f26a22c1ee5c82d62a1c Mon Sep 17 00:00:00 2001 From: Guilherme Henrique Lemes de Godoy Date: Thu, 19 Sep 2024 15:12:54 -0300 Subject: [PATCH] Add ALTCHA support on config.inc.php --- config.TEMPLATE.inc.php | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/config.TEMPLATE.inc.php b/config.TEMPLATE.inc.php index d86405a2229..d1bcbb8bcab 100644 --- a/config.TEMPLATE.inc.php +++ b/config.TEMPLATE.inc.php @@ -441,6 +441,28 @@ ; Validate the hostname in the ReCaptcha response recaptcha_enforce_hostname = Off +; ALTCHA is a free and open-source alternative to Google's ReCaptcha +; The options below will manage all the required configurations used to +; work with ALTCHA instead of ReCaptcha on system + +; Whether or not to enable ALTCHA +altcha = on + +; Private key for ALTCHA +altcha_hmackey = 'Example key' + +; Whether or not to use ALTCHA on user registration +altcha_on_register = on + +; Whether or not to use ALTCHA on user login +altcha_on_login = on + +; Whether or not to use ALTCHA on user lost password +altcha_on_lost_password = on + +; The quantity of encryption cycles performed by the ALTCHA system +altcha_encrypt_number = 10000 + ;;;;;;;;;;;;;;;;;;;;; ; External Commands ; ;;;;;;;;;;;;;;;;;;;;; @@ -621,4 +643,4 @@ [features] -enable_new_submission_listing = Off \ No newline at end of file +enable_new_submission_listing = Off