Skip to content

Commit

Permalink
Merge pull request #677 from yaras/fix-git-675
Browse files Browse the repository at this point in the history
Fixed masking username with asterisks when reading credentials
  • Loading branch information
dscho committed Mar 14, 2016
2 parents cf0165c + 636ad60 commit 9f3f612
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion credential.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ static void credential_getpass(struct credential *c)
{
if (!c->username)
c->username = credential_ask_one("Username", c,
PROMPT_ASKPASS|PROMPT_ECHO);
PROMPT_ECHO);
if (!c->password)
c->password = credential_ask_one("Password", c,
PROMPT_ASKPASS);
Expand Down

0 comments on commit 9f3f612

Please sign in to comment.