Browse Source

Update check_auth.php

FusionPBX 6 years ago
parent
commit
8fc68512c8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      resources/check_auth.php

+ 1 - 1
resources/check_auth.php

@@ -106,7 +106,7 @@
 			}
 
 		//get the groups assigned to the user and then set the groups in $_SESSION["groups"]
-			$sql = "SELECT * FROM v_group_users ";
+			$sql = "SELECT * FROM v_user_groups ";
 			//$sql .= "where domain_uuid='".$domain_uuid."' ";
 			//$sql .= "and user_uuid='".$_SESSION["user_uuid"]."' ";
 			$sql .= "where domain_uuid=:domain_uuid ";