Setup Script - Actually check the passwords

This commit is contained in:
Mike Reeves
2019-09-24 14:25:03 -04:00
parent f92d618f82
commit 5ba4c703a4

View File

@@ -1624,9 +1624,12 @@ if (whiptail_you_sure); then
fi fi
whiptail_create_socore_user whiptail_create_socore_user
whiptail_create_socore_user_password1 SCMATCH=no
whiptail_create_socore_user_password2 while [ $SCMATCH != yes ]; do
check_socore_pass whiptail_create_socore_user_password1
whiptail_create_socore_user_password2
check_socore_pass
done
# Last Chance to back out # Last Chance to back out
whiptail_make_changes whiptail_make_changes
@@ -1846,9 +1849,12 @@ if (whiptail_you_sure); then
CURCLOSEDAYS=30 CURCLOSEDAYS=30
process_components process_components
whiptail_create_socore_user whiptail_create_socore_user
whiptail_create_socore_user_password1 SCMATCH=no
whiptail_create_socore_user_password2 while [ $SCMATCH != yes ]; do
check_socore_pass whiptail_create_socore_user_password1
whiptail_create_socore_user_password2
check_socore_pass
done
whiptail_make_changes whiptail_make_changes
set_hostname set_hostname
generate_passwords generate_passwords