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
Currently the code that use ReCaptcha at: https://github.com/phpmyadmin/phpmyadmin/blob/master/libraries/plugins/auth/AuthenticationCookie.php#L282 depend on allow_url_fopen = On as noted in this bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=784628
Remove hard dependency on allow_url_fopen = On in ReCaptcha usage, for example: change in: https://github.com/phpmyadmin/phpmyadmin/blob/master/libraries/plugins/auth/AuthenticationCookie.php#L282 the code to something like: (not tested, based on https://github.com/google/recaptcha/blob/master/examples/example-captcha.php#L82)
if (function_exists('curl_init')) { $reCaptcha = new ReCaptcha( $GLOBALS['cfg']['CaptchaLoginPrivateKey'], new ReCaptcha\RequestMethod\CurlPost() ); } else if (ini_get('allow_url_fopen')) { $reCaptcha = new ReCaptcha( $GLOBALS['cfg']['CaptchaLoginPrivateKey'] ); } else { $reCaptcha = new ReCaptcha( $GLOBALS['cfg']['CaptchaLoginPrivateKey'], new ReCaptcha\RequestMethod\SocketPost() ); }
The text was updated successfully, but these errors were encountered:
Note for myself:
Once this is released, adjust Debian package:
Sorry, something went wrong.
05a2587
Debian package adjusted in https://anonscm.debian.org/git/collab-maint/phpmyadmin.git/commit/?id=458a710459ce35c51d7a871d6f92a537dd64d588
nijel
No branches or pull requests
Currently the code that use ReCaptcha at:
https://github.com/phpmyadmin/phpmyadmin/blob/master/libraries/plugins/auth/AuthenticationCookie.php#L282
depend on allow_url_fopen = On as noted in this bug:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=784628
Remove hard dependency on allow_url_fopen = On in ReCaptcha usage, for example:
change in:
https://github.com/phpmyadmin/phpmyadmin/blob/master/libraries/plugins/auth/AuthenticationCookie.php#L282
the code to something like: (not tested, based on https://github.com/google/recaptcha/blob/master/examples/example-captcha.php#L82)
The text was updated successfully, but these errors were encountered: