diff --git a/ee/cli/plugins/site_functions.py b/ee/cli/plugins/site_functions.py index 64e07776..d4c13cfa 100644 --- a/ee/cli/plugins/site_functions.py +++ b/ee/cli/plugins/site_functions.py @@ -656,9 +656,7 @@ def updatewpuserpassword(self, ee_domain, ee_site_webroot): except CommandExecutionError as e: raise SiteError("wp user password update command failed") Log.info(self, "Password updated successfully") - if len(ee_wp_pass) < 8: - Log.warn(self, "Warning: You have provided a " - "weak password") + else: Log.error(self, "Invalid WordPress user {0} for {1}." .format(ee_wp_user, ee_domain))