Date: Sat, 8 Jun 2013 18:13:42 +0000 (UTC) From: Devin Teske <dteske@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r251545 - head/usr.sbin/bsdconfig/usermgmt/share Message-ID: <201306081813.r58IDg8o056471@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dteske Date: Sat Jun 8 18:13:42 2013 New Revision: 251545 URL: http://svnweb.freebsd.org/changeset/base/251545 Log: 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. Modified: head/usr.sbin/bsdconfig/usermgmt/share/group_input.subr head/usr.sbin/bsdconfig/usermgmt/share/user_input.subr Modified: head/usr.sbin/bsdconfig/usermgmt/share/group_input.subr ============================================================================== --- head/usr.sbin/bsdconfig/usermgmt/share/group_input.subr Sat Jun 8 18:08:17 2013 (r251544) +++ head/usr.sbin/bsdconfig/usermgmt/share/group_input.subr Sat Jun 8 18:13:42 2013 (r251545) @@ -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 Modified: head/usr.sbin/bsdconfig/usermgmt/share/user_input.subr ============================================================================== --- head/usr.sbin/bsdconfig/usermgmt/share/user_input.subr Sat Jun 8 18:08:17 2013 (r251544) +++ head/usr.sbin/bsdconfig/usermgmt/share/user_input.subr Sat Jun 8 18:13:42 2013 (r251545) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306081813.r58IDg8o056471>