Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ALTCHA support on config.inc.php #1703

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 23 additions & 1 deletion config.TEMPLATE.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 ;
;;;;;;;;;;;;;;;;;;;;;
Expand Down Expand Up @@ -621,4 +643,4 @@

[features]

enable_new_submission_listing = Off
enable_new_submission_listing = Off