Add dynamic captcha support

This commit is contained in:
Zankaria authored and Zankaria committed 2024-08-15 14:37:59 +02:00
1 parent e16dc142b7
commit e825e7aac5
4 files changed
+44 -1

No files matched your search

+1 -1
View File
@@ -648,7 +648,7 @@ if (isset($_POST['delete'])) {
}
}
// Remote 3rd party captchas.
else {
else if (!$config['dynamic_captcha'] || $config['dynamic_captcha'] === $_SERVER['REMOTE_ADDR']) {
// recaptcha
if ($config['recaptcha']) {
if (!isset($_POST['g-recaptcha-response'])) {