mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 01:34:55 +02:00
Change GoogleReCAPTCHA.php to require_once
because conflicts with account_create_auto_login
This commit is contained in:
@@ -74,7 +74,7 @@ if($save)
|
||||
|
||||
if(config('recaptcha_enabled'))
|
||||
{
|
||||
require LIBS . 'GoogleReCAPTCHA.php';
|
||||
require_once LIBS . 'GoogleReCAPTCHA.php';
|
||||
if (!GoogleReCAPTCHA::verify('register')) {
|
||||
$errors['verification'] = GoogleReCAPTCHA::getErrorMessage();
|
||||
}
|
||||
|
Reference in New Issue
Block a user