Title: Multisite Not Authorized
Last modified: August 27, 2019

---

# Multisite Not Authorized

 *  Resolved [jlashomb](https://wordpress.org/support/users/jlashomb/)
 * (@jlashomb)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/multisite-not-authorized/)
 * It looks like it’s hard set to require users to be members of the site if used
   in a multisite setup. Is there a way to toggle it so that any logged in user 
   can view any site as long as they are authenticated?
    Allow it to be overridden
   with a hook. Something like this…
 *     ```
       function my_forcelogin_members_only() {
         return false;
       }
       add_filter( 'v_forcelogin_members_only', 'my_forcelogin_members_only' );
       ```
   
 * Then add the following to line 23…
    `$members_only = apply_filters( 'v_forcelogin_members_only',
   TRUE );` and change line 53 to … `elseif ( $members_only && function_exists('
   is_multisite') && is_multisite() ) {`

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [jlashomb](https://wordpress.org/support/users/jlashomb/)
 * (@jlashomb)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/multisite-not-authorized/#post-11872206)
 * I’m new to WordPress development, but just found the github repo for this plugin.
   I’ll see if I can generate a version for consideration. There appears to be some
   issues on the repo requesting similar features.
 *  Plugin Author [Kevin Vess](https://wordpress.org/support/users/kevinvess/)
 * (@kevinvess)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/multisite-not-authorized/#post-11872723)
 * Hi, thanks for using Force Login!
 * > Is there a way to toggle it so that any logged in user can view any site as
   > long as they are authenticated?
 * Currently, if you want users to have access to multiple sites in your network,
   you need to add those users as members of each site.
 * > There appears to be some issues on the repo requesting similar features.
 * Yes– and I believe the one closest to your request would be this one:
    [https://github.com/kevinvess/wp-force-login/issues/46](https://github.com/kevinvess/wp-force-login/issues/46)
 * Thanks!
 *  Thread Starter [jlashomb](https://wordpress.org/support/users/jlashomb/)
 * (@jlashomb)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/multisite-not-authorized/#post-11872811)
 * Thanks for the quick reply. I ended up forking your plugin to fit our needs and
   submitted a pull-request with a simple expansion incase you wanted to add it 
   in. It’s a very minor change that allows it to be disabled via a filter in a 
   mu-plugin, and I extended the readme.txt to explain the usage. Feel free to reject
   it if it’s not a good fit.
 * [https://github.com/kevinvess/wp-force-login/pull/52](https://github.com/kevinvess/wp-force-login/pull/52)
 *  Plugin Author [Kevin Vess](https://wordpress.org/support/users/kevinvess/)
 * (@kevinvess)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/multisite-not-authorized/#post-11872837)
 * Excellent, I’ll check it out!
 * Be sure to [rate and review](https://wordpress.org/support/plugin/wp-force-login/reviews/?rate=5#new-post)
   my plugin to let others know how you like it.
 * Thanks for using Force Login!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Multisite Not Authorized’ is closed to new replies.

 * ![](https://ps.w.org/wp-force-login/assets/icon.svg?rev=1904031)
 * [Force Login](https://wordpress.org/plugins/wp-force-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-force-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-force-login/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-force-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-force-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-force-login/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Kevin Vess](https://wordpress.org/support/users/kevinvess/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/multisite-not-authorized/#post-11872837)
 * Status: resolved