Thank you for trying our plugin Margaritaperc.
With WP 2FA you can enforce 2FA on users based on roles. Since network users who are not attached to a subsite have no role / privileges (apart from logging in) there is no way how you can enforce / allow such users to configure 2FA.
This is by design: we always thought that typically, a user will always be associated with a website or have a role. Maybe we are wrong. What is your use case here? We’d like to learn to we can better support such set ups; why would you have users without a role on a subsite? What is the use of such users?
Thank you in advance for your time and for sharing the details.
Looking forward to hearing from you.
Thank you for your feedback!
In our use case, we only need subscribers to access the frontend and their network status – without assigning them to a subsite – was enough for them to log in.
But it’s still confusing to me: I can define what is the default registration role, but the user doesn’t really get it after activation. Or a user has registered to a specific site, but after activation the user is still not part of the site.
Btw… I just found how to hook on the user activation and automatically assign them to a subsite… so basically I’m fine with this solution.
If I am not mistaken, the default role is used for when a user is added to a site. When a user is not added to any sub site, they have no roles.
I am glad you found a solution for this. Should you need any additional information from our end, please do not hesitate to ask.