Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reCAPTCHA v3 help #653

Closed
mazzorini opened this issue Jun 25, 2022 · 3 comments
Closed

reCAPTCHA v3 help #653

mazzorini opened this issue Jun 25, 2022 · 3 comments
Assignees

Comments

@mazzorini
Copy link

Hi,

I think the instructions in the wiki no longer match the code. Does anyone here have an example with 3.1?

Currently I get registrations, but the registration is deactivated. I don't think i can be productive without recaptcha.

@chriskonnertz
Copy link
Member

Hello,

I think the instructions in the wiki no longer match the code

The Contentify code or the Google code?

@mazzorini
Copy link
Author

The Contentify code is different ;)

Captcha::check(Request::get('captcha'))

@mazzorini
Copy link
Author

mazzorini commented Oct 18, 2022

My bad, I could have found out myself

in app/Modules/Auth/Http/RegistrationController.php
if (! Captcha::checkReCaptcha(Request::get('g-recaptcha-response'))) { return Redirect::to('auth/registration/create') ->withInput()->withErrors(['message' => trans('app.captcha_invalid')]); }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants