mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-10-13 18:04:54 +02:00
Refactor Google ReCaptcha code (#325)
Removed duplicated code (store it in function/general.php) Captcha doesn't need cURL (made it configurable and optional)
This commit is contained in:

committed by
Stefan A. Brannfjell

parent
b6f30e63fc
commit
0478566020
@@ -780,6 +780,7 @@
|
||||
$config['use_captcha'] = false;
|
||||
$config['captcha_site_key'] = "Site key";
|
||||
$config['captcha_secret_key'] = "Secret key";
|
||||
$config['captcha_use_curl'] = false; // Set to false if you don't have cURL installed, otherwise set it to true
|
||||
|
||||
// Session prefix, if you are hosting multiple sites, make the session name different to avoid conflict.
|
||||
$config['session_prefix'] = 'znote_';
|
||||
|
Reference in New Issue
Block a user