Преглед изворни кода

feat(go): import all users if no filters;

Vishal Dalwadi пре 4 месеци
родитељ
комит
afa241b683
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      pro/auth/sync.go

+ 1 - 1
pro/auth/sync.go

@@ -104,7 +104,7 @@ func syncUsers(idpUsers []idp.User) error {
 		}
 
 		// if there are filters but none of them match, then skip this user.
-		if !found {
+		if len(filters) > 0 && !found {
 			continue
 		}