Git credential popup asking for username but needs password
Version
0.13.4
Operating System
macOS
Distribution Method
dmg (Apple Silicon)
Describe the issue
I just updated git password (Bitbucket account). GitButler now asks me for updated credentials. In the popup it says "provide username" but on "Submit" I get error "Password is missing". I never get a prompt asking me for the password.
How to reproduce
No response
Expected behavior
Should be able to successfully update git logins from the app
Relevant log output
No response
Workaround was made by doing a regular "git fetch" from the terminal and get prompted correctly from there.
Thanks a lot for reporting.
Without knowing exactly the cause, the error is produced by GitButler and originates here:
https://github.com/gitbutlerapp/gitbutler/blob/94ff87a72c50252c0a54732a56f2f5d57e58ca9f/crates/gitbutler-git/src/repository.rs#L266-L271
It looks like the prompt didn't yield anything, even though from what I understand, it only showed once and then never again (in the same GitButler session?).
I got a prompt asking for username, and was expecting another for password but that one never appeared, instead an error that said I never passed in a password. So I would guess there is a state-mismatch.
Hey @bonbon2000, thanks for reporting this. I've seen this happen. I'll take a look