From 622e64aa88dee6b69813c9e61b8a7dd303f553e6 Mon Sep 17 00:00:00 2001 From: Flynn Tesoriero Date: Sat, 18 Jan 2020 11:13:15 +1100 Subject: [PATCH 1/2] Added Google reCAPTCHA V3 --- sleeky-frontend/frontend/config.php | 10 ++++++++ sleeky-frontend/frontend/footer.php | 14 +++++++++++ sleeky-frontend/index.php | 37 ++++++++++++++++++++++++++++- 3 files changed, 60 insertions(+), 1 deletion(-) diff --git a/sleeky-frontend/frontend/config.php b/sleeky-frontend/frontend/config.php index 493865a..32c21c2 100644 --- a/sleeky-frontend/frontend/config.php +++ b/sleeky-frontend/frontend/config.php @@ -21,6 +21,16 @@ // Logo for your site, displayed on home page define('logo', '/frontend/assets/img/logo-black.png'); +// Enable reCAPTCHA V3 +// It is highly recommended you use reCAPTCHA V3. It will stop spam. You can get a site and secret key from here: https://www.google.com/recaptcha/admin/create +define("enableRecaptcha", true); + +// reCAPTCHA V3 Site Key +define("recaptchaV3SiteKey", 'YOU_SITE_KEY_HERE'); + +// reCAPTCHA V3 Secret Key +define("recaptchaV3SecretKey", 'YOU_SECRET_KEY_HERE'); + // Enables the custom URL field // true or false define('enableCustomURL', true); diff --git a/sleeky-frontend/frontend/footer.php b/sleeky-frontend/frontend/footer.php index 1d085fa..4ff7ae2 100644 --- a/sleeky-frontend/frontend/footer.php +++ b/sleeky-frontend/frontend/footer.php @@ -1,4 +1,18 @@ + + +