Browse Source
installer: Hide the Wi-Fi passphrase by default.
* gnu/installer/newt/wifi.scm (run-wifi-password-page):
Add an #:INPUT-VISIBILITY-CHECKBOX? to the input page.
wip-buildroot
Tobias Geerinckx-Rice
3 years ago
No known key found for this signature in database
GPG Key ID: DB0FF884F556D79
1 changed files with
3 additions and
1 deletions
-
gnu/installer/newt/wifi.scm
|
|
@ -1,6 +1,7 @@ |
|
|
|
;;; GNU Guix --- Functional package management for GNU |
|
|
|
;;; Copyright © 2018 Mathieu Othacehe <m.othacehe@gmail.com> |
|
|
|
;;; Copyright © 2019 Meiyo Peng <meiyo@riseup.net> |
|
|
|
;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr> |
|
|
|
;;; |
|
|
|
;;; This file is part of GNU Guix. |
|
|
|
;;; |
|
|
@ -88,7 +89,8 @@ nmc_wifi_strength_bars." |
|
|
|
(define (run-wifi-password-page) |
|
|
|
"Run a page prompting user for a password and return it." |
|
|
|
(run-input-page (G_ "Please enter the wifi password.") |
|
|
|
(G_ "Password required"))) |
|
|
|
(G_ "Password required") |
|
|
|
#:input-visibility-checkbox? #t)) |
|
|
|
|
|
|
|
(define (run-wrong-password-page service-name) |
|
|
|
"Run a page to inform user of a wrong password input." |
|
|
|