if (WCF::getSession()->getVar('noRegistrationCaptcha')) {
$this->captchaObjectType = null;
-
- WCF::getSession()->unregister('noRegistrationCaptcha');
}
}
$this->captchaObjectType->getProcessor()->reset();
}
+ if (WCF::getSession()->getVar('noRegistrationCaptcha')) {
+ WCF::getSession()->unregister('noRegistrationCaptcha');
+ }
+
// login user
UserAuthenticationFactory::getInstance()->getUserAuthentication()->storeAccessData($user, $this->username, $this->password);
WCF::getSession()->unregister('registrationRandomFieldNames');