We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It is not possible to log in when ReCaptcha is enabled, as it cannot "find" and execute the login form submit function.
Steps to reproduce the behavior:
$cfg['CaptchaLoginPublicKey']
$cfg['CaptchaLoginPrivateKey']
config.inc.php
The form should be submitted after completing the captcha.
The console outputs the following error: ReCAPTCHA couldn't find user-provided function: Functions.recaptchaCallback
ReCAPTCHA couldn't find user-provided function: Functions.recaptchaCallback
Additionally, if I manually execute Functions.recaptchaCallback() in the console afterwards, the login works.
Functions.recaptchaCallback()
The text was updated successfully, but these errors were encountered:
@MauricioFauth do you think this could be from one of your changes when renaming functions ?
Sorry, something went wrong.
@williamdes The problem here is the callback function is inside a object called Functions and recaptcha can't find it.
If we attach this function to the window global object and change the data-callback the problem is solved.
It's not elegant but it's a problem from captcha side...
Here's the fix: https://github.com/sdurban/phpmyadmin/commit/a4f6b801c28f7bfaaa60fc6a1545b44a79719c80
Like I say it's not elegant..
Thanks @sdurban!
It is exactly what I was thinking, the recent refractor broke recaptcha callback
I will try to fix it soon
Reproduced, fixing. thank you @sdurban and @marto55555 for waiting patiently a so long time
Add ChangeLog entry for #15435
6b564e3
Signed-off-by: William Desportes <williamdes@wdes.fr>
9f32a89
Fix eslint after #15435
b4bcd34
williamdes
No branches or pull requests
Describe the bug
It is not possible to log in when ReCaptcha is enabled, as it cannot "find" and execute the login form submit function.
To Reproduce
Steps to reproduce the behavior:
$cfg['CaptchaLoginPublicKey']and$cfg['CaptchaLoginPrivateKey']to theconfig.inc.phpfile with the values from the ReCaptcha websiteExpected behavior
The form should be submitted after completing the captcha.
Server configuration
Client configuration
Additional context
The console outputs the following error:
ReCAPTCHA couldn't find user-provided function: Functions.recaptchaCallbackAdditionally, if I manually execute
Functions.recaptchaCallback()in the console afterwards, the login works.The text was updated successfully, but these errors were encountered: