mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-21 14:30:44 +01:00
cli: use nmc_readline_echo() for asking password in 'nmcli dev wifi connect'
This commit is contained in:
parent
02388060c1
commit
1056408fd4
1 changed files with 1 additions and 1 deletions
|
|
@ -2762,7 +2762,7 @@ do_device_wifi_connect_network (NmCli *nmc, int argc, char **argv)
|
|||
if (ap_flags & NM_802_11_AP_FLAGS_PRIVACY) {
|
||||
/* Ask for missing password when one is expected and '--ask' is used */
|
||||
if (!password && nmc->ask)
|
||||
password = passwd_ask = nmc_readline (_("Password: "));
|
||||
password = passwd_ask = nmc_readline_echo (nmc->show_secrets, _("Password: "));
|
||||
|
||||
if (password) {
|
||||
if (!connection)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue