1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

Add Token credential request handling

Asking for 2FA Token prompt when an additional authentication is configured for git over SSH
This commit is contained in:
Aleksei Larkov
2024-06-09 22:13:07 +03:00
committed by Jesse Duffield
parent 13bd4b964f
commit 8813587961
4 changed files with 14 additions and 0 deletions

View File

@ -56,6 +56,8 @@ func (self *CredentialsHelper) getTitleAndMask(passOrUname oscommands.Credential
return self.c.Tr.CredentialsPassphrase, true
case oscommands.PIN:
return self.c.Tr.CredentialsPIN, true
case oscommands.Token:
return self.c.Tr.CredentialsToken, true
}
// should never land here