Difference between revisions of "Extensions:Captcha"

From Lorekeeper Wiki
Jump to navigation Jump to search
Tag: 2017 source edit
Tag: 2017 source edit
Line 9: Line 9:
 
These instructions are derived from those on the package itself. Note that in this case Laravel will indeed auto-discover the package, so we skip directly to configuration.
 
These instructions are derived from those on the package itself. Note that in this case Laravel will indeed auto-discover the package, so we skip directly to configuration.
  
First, obtain your secret and site keys from Google; you can do so [https://www.google.com/recaptcha/admin here].
+
First, obtain your secret and site keys from Google; you can do so [https://www.google.com/recaptcha/admin here]. The captcha version and type are v2 and checkbox, respectively.
  
 
Then add <code>NOCAPTCHA_SECRET</code> and <code>NOCAPTCHA_SITEKEY</code> to your .env file, like so:
 
Then add <code>NOCAPTCHA_SECRET</code> and <code>NOCAPTCHA_SITEKEY</code> to your .env file, like so:

Revision as of 15:05, 11 November 2020

Captcha
Description Adds a captcha to the registration page.
Author(s) Mercury
Status Stable
Github Captcha
LK Version Unspecified
Uses a Package


This adds a captcha to the registration page.

Installation

This makes use of anhskohbo/No-Captcha . Composer.json has already been updated to include this, so you can just run composer update or equivalent after pulling the branch.

Configuration

These instructions are derived from those on the package itself. Note that in this case Laravel will indeed auto-discover the package, so we skip directly to configuration.

First, obtain your secret and site keys from Google; you can do so here. The captcha version and type are v2 and checkbox, respectively.

Then add NOCAPTCHA_SECRET and NOCAPTCHA_SITEKEY to your .env file, like so:

NOCAPTCHA_SECRET=secret-key
NOCAPTCHA_SITEKEY=site-key

That's it! The remainder of the configuration is accounted for by this branch.

Usage

Nothing specific.

Troubleshooting

While it ought to be mostly stable, I'll not rule out that issues could arise. If they do, I'm available via the Lorekeeper discord!

See Also