mirror of
https://github.com/slawkens/myaac.git
synced 2025-11-30 06:56:51 +01:00
Lets support only ReCaptcha v3
Too much mess ;)
This commit is contained in:
@@ -497,7 +497,7 @@ function template_header($is_admin = false)
|
||||
';
|
||||
|
||||
if(config('recaptcha_enabled')) {
|
||||
$ret .= '<script src="https://www.google.com/recaptcha/api.js' . (config('recaptcha_type') === 'v2-checkbox' ? '' : '?render=' . config('recaptcha_site_key')) . '"></script>';
|
||||
$ret .= '<script src="https://www.google.com/recaptcha/api.js?render=' . config('recaptcha_site_key') . '"></script>';
|
||||
}
|
||||
|
||||
return $ret;
|
||||
|
||||
Reference in New Issue
Block a user