Unsupported options.

This commit is contained in:
Nuno Cruces 2021-04-29 16:55:44 +01:00
parent e6ec7f8962
commit 0a67c8f698

View file

@ -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