Browse Source

Fixed Change password for 'user name' ee site update example.com --password

old-stable
Mitesh Shah 10 years ago
parent
commit
7e03ec27ac
  1. 2
      src/modules/site/update/ee_mod_site_update_password.sh

2
src/modules/site/update/ee_mod_site_update_password.sh

@ -22,7 +22,7 @@ ee_mod_site_update_password()
read -sp "Provide password for $ee_wp_user user: " ee_wp_pass
echo
if [[ ${#ee_wp_pass} -ge 8 ]]; then
wp --allow-root user update $ee_wp_user --user_pass=$ee_wp_pass &>> $EE_COMMAND_LOG
wp --allow-root user update "${ee_wp_user}" --user_pass=$ee_wp_pass &>> $EE_COMMAND_LOG
else
ee_lib_error "Password Unchanged. Hint : Your password must be 8 characters long, exit status = " $?
fi

Loading…
Cancel
Save