From 6830eb64d055fbfd47abc54f3288c165e76ab3bb Mon Sep 17 00:00:00 2001 From: Imran Remtulla Date: Sat, 27 Sep 2025 02:40:03 -0400 Subject: [PATCH] Stop sending GitHub token if a "hubproxy" instance is in use --- lib/app_sources/github.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/app_sources/github.dart b/lib/app_sources/github.dart index 7823517..b6d244e 100644 --- a/lib/app_sources/github.dart +++ b/lib/app_sources/github.dart @@ -288,6 +288,9 @@ class GitHub extends AppSource { settingsProvider, ); String? creds = sourceConfig['github-creds']; + if ((additionalSettings['GHReqPrefix'] as String? ?? '').isNotEmpty) { + creds = null; + } if (creds != null) { var userNameEndIndex = creds.indexOf(':'); if (userNameEndIndex > 0) {