mirror of
https://github.com/quexten/goldwarden.git
synced 2025-01-24 09:03:12 +01:00
Prevent multiple autotype permission dialogs
This commit is contained in:
parent
905a09cce7
commit
04d2357f3c
@ -77,9 +77,7 @@ func Run(layout string, useCopyPaste bool, client client.Client) {
|
|||||||
clipboard.WriteAll(login.Password)
|
clipboard.WriteAll(login.Password)
|
||||||
autotype.Paste(layout)
|
autotype.Paste(layout)
|
||||||
} else {
|
} else {
|
||||||
autotype.TypeString(string(login.Username), layout)
|
autotype.TypeString(string(login.Username)+"\t"+string(login.Password), layout)
|
||||||
autotype.TypeString("\t", layout)
|
|
||||||
autotype.TypeString(string(login.Password), layout)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
clipboard.WriteAll(login.TwoFactorCode)
|
clipboard.WriteAll(login.TwoFactorCode)
|
||||||
|
Loading…
Reference in New Issue
Block a user