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
|
@ -90,7 +90,8 @@ input box, such as FLAG-PASSWORD."
|
|||
(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 @@ REAL-NAME, and HOME-DIRECTORY as the initial values in the form."
|
|||
(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 New Issue