Removed login checks again
authorChuck Scott <cscott@gaslightmedia.com>
Mon, 25 Jan 2016 19:41:32 +0000 (14:41 -0500)
committerChuck Scott <cscott@gaslightmedia.com>
Mon, 25 Jan 2016 19:41:32 +0000 (14:41 -0500)
glm-member-db-contacts.php

index f77857c..e44672d 100644 (file)
@@ -194,6 +194,7 @@ function glmMembersContactsNoLoginMessage( $message ) {
         ";
         return $message;
 }
+/*
 // If login is from user who was logged out due to restriction or being flagged inactive - Display login message
 if (isset($_COOKIE['glmMembersForcedLogout'])) {
     add_filter('login_message', 'glmMembersContactsNoLoginMessage');
@@ -212,6 +213,7 @@ if ($contactUser && !$contactActive) {
     setcookie ("glmMembersForcedLogout", "stuff", time() + 3600, '/');
     wp_logout();
 }
+*/
 
 /*
  * Add filter to redirect user to a particular destination on