installer: Fix handling of user password mismatches.
authorLudovic Courtès <ludo@gnu.org>
Sun, 28 Apr 2019 20:42:21 +0000 (22:42 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sun, 28 Apr 2019 20:57:07 +0000 (22:57 +0200)
commitada4aeb0681445b89459a202b5fa1a46f0a7950e
treeff80a38d31c4093ba6ad30867c5c4e85b6bc32f6
parent0e8e963d73e61c7666f9ec4efa98c1a277c72af9
installer: Fix handling of user password mismatches.

Previously, if we had a password mismatch, the 'password' field would
end up containing a <user> record instead of the actual password.

* gnu/installer/newt/user.scm (confirm-password): Make TRY-AGAIN
optional and adjust docstring.
(run-user-add-page): Move 'confirm-password' call one level higher.
gnu/installer/newt/user.scm