$this->message = 'wcf.user.register.success';
UserGroupAssignmentHandler::getInstance()->checkUsers([$user->userID]);
- } elseif (REGISTER_ACTIVATION_METHOD & User::REGISTER_ACTIVATION_USER && empty($this->blacklistMatches)) {
+ } elseif (REGISTER_ACTIVATION_METHOD & User::REGISTER_ACTIVATION_USER && !$this->spamCheckEvent->hasMatches()) {
// registering via 3rdParty leads to instant activation
if ($registerVia3rdParty) {
- $this->message = 'wcf.user.register.success';
+ if (REGISTER_ACTIVATION_METHOD & User::REGISTER_ACTIVATION_ADMIN) {
+ $this->message = 'wcf.user.register.success.awaitActivation';
+ } else {
+ $this->message = 'wcf.user.register.success';
+ }
} else {
$email = new Email();
$email->addRecipient(new UserMailbox(WCF::getUser()));