mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-10-20 17:53:46 +02:00
Stop sending GitHub token if a "hubproxy" instance is in use
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user