Require a captcha for visitor submissions and for login.

Without the form field, the check was skipped. A solved captcha lasts
30 minutes in the session.
This commit is contained in:
tim
2026-09-25 21:54:14 +02:00
parent 1698680e24
commit 1468cf7138
8 changed files with 97 additions and 25 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ require_once("../session.lib.php");
<link rel="alternate" type="application/rss+xml" title="xxx.org.za RSS feed" href="/feed" />
<?php include_once('tinymce_init.inc.php'); ?>
<?php if (!$is_admin ) { ?>
<script src="https://www.google.com/recaptcha/api.js"></script>
<?= captcha_script() ?>
<?php } ?>
</head>
<?php