diff --git a/packages/insomnia/src/ui/routes/git-actions.tsx b/packages/insomnia/src/ui/routes/git-actions.tsx index 785b2422e..e34227193 100644 --- a/packages/insomnia/src/ui/routes/git-actions.tsx +++ b/packages/insomnia/src/ui/routes/git-actions.tsx @@ -434,15 +434,13 @@ export const updateGitRepoAction: ActionFunction = async ({ oauth2format, }; } else { - const password = formData.get('password'); - invariant(typeof password === 'string', 'Password is required'); const token = formData.get('token'); invariant(typeof token === 'string', 'Token is required'); const username = formData.get('username'); invariant(typeof username === 'string', 'Username is required'); repoSettingsPatch.credentials = { - password, + password: token, username, }; }