XF 2.0 Adding reason for moderated registration from code

_PkZ_

Active member
I am extending XF\Service\User\Registration and do some tests. For some registrations i set $this->user->user_state to "moderated".
How can i add a reason for that in the moderation queue like the spam-checkers do when adding a reason like "Shared ip with banned user"?
 
Back
Top Bottom