Browse Source

Merge branch 'python' of github.com:rtCamp/easyengine into python

bugfixes
harshadyeola 10 years ago
parent
commit
17f014bc56
  1. 6
      ee/cli/plugins/secure.py

6
ee/cli/plugins/secure.py

@ -55,7 +55,7 @@ class EESecureController(CementBaseController):
self.app.pargs.user_input = EEVariables.ee_user self.app.pargs.user_input = EEVariables.ee_user
if not self.app.pargs.user_pass: if not self.app.pargs.user_pass:
password = input("Provide HTTP authentication " password = input("Provide HTTP authentication "
"password [{0}]".format(passwd)) "password [{0}] :".format(passwd))
self.app.pargs.user_pass = password self.app.pargs.user_pass = password
if password == "": if password == "":
self.app.pargs.user_pass = passwd self.app.pargs.user_pass = passwd
@ -66,10 +66,10 @@ class EESecureController(CementBaseController):
.format(username=self.app.pargs.user_input, .format(username=self.app.pargs.user_input,
password=self.app.pargs.user_pass)) password=self.app.pargs.user_pass))
Log.info(self, "Successfully changed HTTP authentication" Log.info(self, "Successfully changed HTTP authentication"
" username:{username}" " username to : {username}"
.format(username=self.app.pargs.user_input)) .format(username=self.app.pargs.user_input))
Log.info(self, "Successfully changed HTTP authentication" Log.info(self, "Successfully changed HTTP authentication"
" password:{password}" " password to : {password}"
.format(password=self.app.pargs.user_pass)) .format(password=self.app.pargs.user_pass))
@expose(hide=True) @expose(hide=True)

Loading…
Cancel
Save