No default password.
This commit is contained in:
parent
cf33a53ba0
commit
ece0ced937
@ -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
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user