Solved Email confirmation is bypassed when registered user is moderated by spam check

This topic has been solved
K

K a M a L

Guest
Most forum owners require email confirmations because they don't want users registered with fake emails and a lot of forums require both email confirmation and admin approval .. currently xenforo handles this incorrectly
spam check on registration service can set user state to moderated, in this case setInitialUserState() won't do more processing
Code:

Code:
protected function setInitialUserState()
{
   $user = $this->user;
   $options = $this->app->options();

   if ($user->user_state !=...

Read more

Continue reading...