diff --git a/resources/check_auth.php b/resources/check_auth.php index be82e87620..03d4fd74a8 100644 --- a/resources/check_auth.php +++ b/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 ";