Merge pull request #670 from thecodacus/private-github-repo
Browse filesadded support for private github repo through github connections
app/components/settings/connections/ConnectionsTab.tsx
CHANGED
|
@@ -15,6 +15,7 @@ export default function ConnectionsTab() {
|
|
| 15 |
hasToken: !!githubToken,
|
| 16 |
});
|
| 17 |
toast.success('GitHub credentials saved successfully!');
|
|
|
|
| 18 |
};
|
| 19 |
|
| 20 |
return (
|
|
|
|
| 15 |
hasToken: !!githubToken,
|
| 16 |
});
|
| 17 |
toast.success('GitHub credentials saved successfully!');
|
| 18 |
+
Cookies.set('git:github.com', JSON.stringify({ username: githubToken, password: 'x-oauth-basic' }));
|
| 19 |
};
|
| 20 |
|
| 21 |
return (
|