Difference between revisions of "Extensions:Captcha"
Tag: 2017 source edit |
Tag: 2017 source edit |
||
Line 1: | Line 1: | ||
− | {{Extensioninfobox|title=Captcha|desc=Adds a captcha to the registration page.|auth=Mercury|status=Stable | + | {{Extensioninfobox|title=Captcha|desc=Adds a captcha to the registration page.|auth=Mercury|status=Stable|github={{Github|user=itinerare|branch=Captcha}}|migration=no|package=yes}} |
<!-- Put a short summary of your extension here! --> | <!-- Put a short summary of your extension here! --> | ||
− | This adds a captcha to the registration page | + | This adds a captcha to the registration page. |
== Installation == | == Installation == | ||
<!-- Describe installation. Include any requirements (such as packages), necessary commands, etc. --> | <!-- Describe installation. Include any requirements (such as packages), necessary commands, etc. --> | ||
Line 21: | Line 21: | ||
<!-- Are there known issues or errors that require user action? Who should they contact, and where, for support? --> | <!-- Are there known issues or errors that require user action? Who should they contact, and where, for support? --> | ||
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! | 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 == | == See Also == | ||
<!-- Any relevant other pages. You may consider linking to related extensions, for instance. --> | <!-- Any relevant other pages. You may consider linking to related extensions, for instance. --> |
Revision as of 13:42, 11 November 2020
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.
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!