mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +02:00
Possible fix for excessive forum post spam.
This commit is contained in:
@@ -213,6 +213,11 @@ class e107forum
|
|||||||
{
|
{
|
||||||
$tp = e107::getParser();
|
$tp = e107::getParser();
|
||||||
|
|
||||||
|
if(!isset($_POST['e_token'])) // Set the token if not included
|
||||||
|
{
|
||||||
|
$_POST['e_token'] = '';
|
||||||
|
}
|
||||||
|
|
||||||
if(!e107::getSession()->check(false) || !$this->checkPerm($_POST['post'], 'post'))
|
if(!e107::getSession()->check(false) || !$this->checkPerm($_POST['post'], 'post'))
|
||||||
{
|
{
|
||||||
//$ret['status'] = 'ok';
|
//$ret['status'] = 'ok';
|
||||||
|
Reference in New Issue
Block a user