No default password.

This commit is contained in:
Nuno Cruces 2022-05-13 17:32:23 +01:00
parent cf33a53ba0
commit ece0ced937
3 changed files with 4 additions and 0 deletions

View File

@ -25,3 +25,5 @@ rm zenity zenity_macos_* zenity.exe
GOOS=linux go build -tags dev GOOS=linux go build -tags dev
go build -tags dev go build -tags dev
git restore tag.go git restore tag.go
shasum -a256 *.zip

View File

@ -8,6 +8,7 @@ import (
func password(opts options) (string, string, error) { func password(opts options) (string, string, error) {
if !opts.username { if !opts.username {
opts.entryText = ""
opts.hideText = true opts.hideText = true
str, err := entry("Password:", opts) str, err := entry("Password:", opts)
return "", str, err return "", str, err

View File

@ -7,6 +7,7 @@ import (
func password(opts options) (string, string, error) { func password(opts options) (string, string, error) {
if !opts.username { if !opts.username {
opts.entryText = ""
opts.hideText = true opts.hideText = true
str, err := entry("Password:", opts) str, err := entry("Password:", opts)
return "", str, err return "", str, err