首页 > 解决方案 > 验证码问题

问题描述

我已经设置了一个Piwallet,它需要一个 Recapcha v2 密钥,但是当我在提供正确的密钥后尝试登录时,我在调试屏幕中得到了这个,它显示:

 [:error] [pid 7405] [client 181.123.31.124:59758] PHP Notice: Undefined index: g-recaptcha-response in /var/www/html/index.php on line 312

那一行写着:

 $response = $reCaptcha->verifyResponse($_SERVER["REMOTE_ADDR"], $_POST["g-recaptcha-response"]);

标签: phprecaptcharecaptcha-v3

解决方案


推荐阅读