diff options
author | dteske <dteske@FreeBSD.org> | 2013-06-08 18:13:42 +0000 |
---|---|---|
committer | dteske <dteske@FreeBSD.org> | 2013-06-08 18:13:42 +0000 |
commit | 90602f8fb442c2b563c2ca25b227c54d7399f098 (patch) | |
tree | 73a159bc87f479f7ca304ef5fc4f1afe334ef98a | |
parent | cbf1a17fa6d0d3ea347e80d9ab10a81a084e149e (diff) | |
download | FreeBSD-src-90602f8fb442c2b563c2ca25b227c54d7399f098.zip FreeBSD-src-90602f8fb442c2b563c2ca25b227c54d7399f098.tar.gz |
Fix a regression introduced by r251544; if user chooses "NO" when being
asked if they would like to disable password authentication for the account,
loop back to prompt them for the password again.
-rw-r--r-- | usr.sbin/bsdconfig/usermgmt/share/group_input.subr | 1 | ||||
-rw-r--r-- | usr.sbin/bsdconfig/usermgmt/share/user_input.subr | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/bsdconfig/usermgmt/share/group_input.subr b/usr.sbin/bsdconfig/usermgmt/share/group_input.subr index 1c8ed67..400c3fc 100644 --- a/usr.sbin/bsdconfig/usermgmt/share/group_input.subr +++ b/usr.sbin/bsdconfig/usermgmt/share/group_input.subr @@ -241,6 +241,7 @@ f_dialog_input_group_password() local retval=$? [ $retval -eq 255 ] && return $retval # ESC was pressed [ $retval -eq $SUCCESS ] && pw_group_password_disable=1 + continue # back to password prompt else pw_group_password_disable= fi diff --git a/usr.sbin/bsdconfig/usermgmt/share/user_input.subr b/usr.sbin/bsdconfig/usermgmt/share/user_input.subr index db5b8b9..f2795f8 100644 --- a/usr.sbin/bsdconfig/usermgmt/share/user_input.subr +++ b/usr.sbin/bsdconfig/usermgmt/share/user_input.subr @@ -338,6 +338,7 @@ f_dialog_input_password() local retval=$? [ $retval -eq 255 ] && return $retval # ESC was pressed [ $retval -eq $SUCCESS ] && pw_password_disable=1 + continue # back to password prompt else pw_password_disable= fi |