Преглед на файлове

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
 		}