Solved Captcha validation is not correct for creating new thread

This topic has been solved
S

stefanstp

Guest
We activated for guests to post new threads before login or registering. But after activation Captcha validation wasn't working. Because in the code "src/XF/Pub/Controller/Forum.php" file and "actionPostThread" method line "878" should check only "$this->captchaIsValid" or not. But it also checks user id for guest. That's why it's not working the correct way.
Code:

Code:
if (!$this->captchaIsValid() && !$isPreRegThread)
{
    return...

Read more

Continue reading...