Extensions:Captcha

From Lorekeeper Wiki
Revision as of 14:05, 11 November 2020 by Mercury (talk | contribs)
Jump to navigation Jump to search
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