Browse Source

site password update fix for blank entry

feature/refactor-php
Prabuddha Chakraborty 9 years ago
parent
commit
21682da417
  1. 6
      ee/cli/plugins/site_functions.py

6
ee/cli/plugins/site_functions.py

@ -853,6 +853,12 @@ def updatewpuserpassword(self, ee_domain, ee_site_webroot):
ee_wp_pass = getpass.getpass(prompt="Provide password for "
"{0} user: "
.format(ee_wp_user))
while not ee_wp_pass:
ee_wp_pass = getpass.getpass(prompt="Provide password for "
"{0} user: "
.format(ee_wp_user))
except Exception as e:
Log.debug(self, "{0}".format(e))
raise SiteError("failed to read password input ")

Loading…
Cancel
Save