Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Open
Show file tree
Hide file tree
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
22 changes: 22 additions & 0 deletions config.TEMPLATE.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,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 = off

; 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
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,15 @@
"scripts": {
"dev": "vue-cli-service build --no-clean --watch",
"build": "vue-cli-service build --no-clean",
"lint": "vue-cli-service lint js/load.js lib/pkp/js/load.js lib/pkp/js/classes/VueRegistry.js"
"lint": "vue-cli-service lint js/load.js lib/pkp/js/load.js lib/pkp/js/classes/VueRegistry.js",
"postinstall": "copyfiles -f node_modules/altcha/dist/altcha.js lib/pkp/js/lib/altcha"
},
"dependencies": {
"@tinymce/tinymce-vue": "^1.1.0",
"altcha": "^1.2.0",
"chart.js": "^2.9.4",
"clone-deep": "^4.0.1",
"copyfiles": "^2.4.1",
"debounce": "^1.2.0",
"dompurify": "^3.0.8",
"moment": "^2.27.0",
Expand Down
Loading