Unsupported options.
This commit is contained in:
parent
e6ec7f8962
commit
0a67c8f698
1 changed files with 3 additions and 0 deletions
|
@ -3,6 +3,9 @@
|
||||||
package zenity
|
package zenity
|
||||||
|
|
||||||
func password(opts options) (string, string, error) {
|
func password(opts options) (string, string, error) {
|
||||||
|
if opts.username {
|
||||||
|
return "", "", ErrUnsupported
|
||||||
|
}
|
||||||
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 a new issue