Prevent certain users from logging in?
-
I have a membership site. Non paying members are created with real emails, but bogus user names: “xx.john.doe”. It’s a simple way to identify non-paying members.
However:
xx.john.doe can still reset his password – and therefore log in. This is easy to prevent in standard WP:add_action('password_reset', [$this, 'prevent_password_change_for_xx_users'], 10, 2);
but TML bypasses this. I can see there are https://docs.thememylogin.com/article/87-disabling-an-action but I don’t see how to use it in this case?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.