Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To Enable the CAPTCHA app, go to your AdminCP>> Setting >> Captcha. MetaFox supports 2 default captcha that are ReCaptcha v3 and Image captcha 

Image Modified


Setting up Recaptcha v3

First of all, you'll need to set up your Google reCAPTCHA account.

Image Modified  


  1. Add a Label so you know which site this is for.
  2. Select ReCaptcha v3
  3. Add your domain such as yourdomain.com . It will be for the full domain range so if you have subfolders or subdomains, it will work for those.
  4. Owner: enter your email address as the owner
  5. Choose if you want to get alerts if Google detects problems with your site, such as misconfiguration errors or an increase in suspicious traffic.
  6. Hit submit button to register.


Image Modified


Once you've registered, you'll get the Site Key and Secret Key. Copy those as you'll need them for the next step.


Image Modified


  • Go back to AdminCP >> Settings >> Captcha >> Select the reCaptcha V3>> choose Edit 


Image Modified

  • On the next page, you'll see there are 2 fields where you paste the Site Key and Secret Key. Don't forget to Save changes


Image Modified


Info
titleTip

Tip

It's always a good idea to clear your site's cache after adding anything.


After setting up ReCaptcha v3, you can enable the captcha on login and registration.

Select the Rules tab on the top right, and you will see the list of options including  2 options 'Captcha on Login' & 'Captcha on Registration'.

Image Modified


Remember to hit Save Changes to save each setting.

Now registration form and login form of your site will be protected by Captcha. Users need to finish the captcha before submitting the form.

Setting up Image Captcha 

...

It's more simple to set up an image captcha. From Admin cp>> Settings>> Captcha>> Settings>> Select Image Captcha

Image Modified


This is how the image captcha challenge looks like

Image Modified