ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 33,782
- Points
- 823
Reputation:
\XF\Service\User\Registration::checkForSpam
PHP:
Could this be changed so the second parameter for
Eg. smth. like
PHP:
Read more
Continue reading...
PHP:
Code:
public function checkForSpam()
{
$user = $this->user;
$userChecker = $this->app->spam()->userChecker();
$userChecker->check($user, ['preRegActionKey' => $this->preRegActionKey]);
Could this be changed so the second parameter for
check is taken from a method istead of being hardcoded?Eg. smth. like
PHP:
Code:
public function checkForSpam()
{
$user = $this->user;
$userChecker = $this->app->spam()->userChecker()...
Read more
Continue reading...