Lets support only ReCaptcha v3

Too much mess ;)
This commit is contained in:
slawkens
2022-08-28 18:13:34 +02:00
parent fd51fa7779
commit 87a98531d9
6 changed files with 13 additions and 59 deletions

View File

@@ -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;