mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
installer: Allow for arbitrary long passphrases and passwords.
Fixes <https://bugs.gnu.org/35716>. Reported by sirmacik <sirmacik@wioo.waw.pl>. * gnu/installer/newt/page.scm (run-input-page): Add FLAG-SCROLL to INPUT-FLAGS*. * gnu/installer/newt/user.scm (run-user-add-page): Add FLAG-SCROLL to ENTRY-PASSWORD.
This commit is contained in:
parent
50867421f9
commit
ef250707d3
2 changed files with 4 additions and 2 deletions
|
@ -90,7 +90,8 @@ (define* (run-input-page text title
|
|||
(input-visible-cb
|
||||
(make-checkbox -1 -1 (G_ "Hide") #\x "x "))
|
||||
(input-flags* (if input-hide-checkbox?
|
||||
(logior FLAG-PASSWORD input-flags)
|
||||
(logior FLAG-PASSWORD FLAG-SCROLL
|
||||
input-flags)
|
||||
input-flags))
|
||||
(input-entry (make-entry -1 -1 20
|
||||
#:flags input-flags*))
|
||||
|
|
|
@ -57,7 +57,8 @@ (define (pad-label label)
|
|||
(password-visible-cb
|
||||
(make-checkbox -1 -1 (G_ "Hide") #\x "x "))
|
||||
(entry-password (make-entry -1 -1 entry-width
|
||||
#:flags FLAG-PASSWORD))
|
||||
#:flags (logior FLAG-PASSWORD
|
||||
FLAG-SCROLL)))
|
||||
(entry-grid (make-grid 3 5))
|
||||
(button-grid (make-grid 1 1))
|
||||
(ok-button (make-button -1 -1 (G_ "OK")))
|
||||
|
|
Loading…
Reference in a new issue