Can’t update user status after registration
-
Hello, I’m having a problem updating statuses of newly registered users. Previously I’d used ‘um_registration_complete‘ hook to manullay set status ‘rejected‘ for users who fell under certain conditions. It worked until early october, when I think the plugin was updated and something has changed in its logic.
I used ‘um_after_user_status_is_changed‘ for debugging and found out that the ‘um_registration_complete‘ hook is still working fine, but after that something changes the status to ‘awaiting_email_confirmation‘ (which is the default status for newly registered). For instance, a couple of log entries:07-11-24 15:36:15 User 3684
Old status:
New status: rejected
07-11-24 15:36:15 User 3684
Old status: rejected
New status: awaiting_email_confirmation07-11-24 16:10:21 User 3687
Old status:
New status: inactive
07-11-24 16:10:21 User 3687
Old status: inactive
New status: awaiting_email_confirmationCould you tell me what exactly has changed here and how can I make it work again?
- You must be logged in to reply to this topic.