• Hi there,

    On a multisite, subscribers must register to access the frontend of the entire root site. When this happens, they are just network users with no subsites attached to them.

    I’ve created a custom user page, but the 2FA configuration options are only visible if the user is also attached to a subsite. Is it possible for non-subsite users to configure 2FA?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor robertabela

    (@robert681)

    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.

    Thread Starter margarita – boomCodes

    (@margaritaperc)

    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.

    Plugin Contributor robertabela

    (@robert681)

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Multisite users cannot configure 2FA’ is closed to new replies.