mirror of
https://github.com/Kong/insomnia
synced 2024-11-07 22:30:15 +00:00
remove check for password in git sync (#5655)
Co-authored-by: Patrick Murrell <pmurrell@lcs.com>
This commit is contained in:
parent
c4d2939e7a
commit
ffd847f1df
@ -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,
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user