From 803380867da79b5b28f5ba87dc80d6ee355108d0 Mon Sep 17 00:00:00 2001 From: shitalp Date: Wed, 28 Jan 2015 16:22:31 +0530 Subject: [PATCH 1/2] Update secure.py --- ee/cli/plugins/secure.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ee/cli/plugins/secure.py b/ee/cli/plugins/secure.py index 49fed63c..0c7a6b8e 100644 --- a/ee/cli/plugins/secure.py +++ b/ee/cli/plugins/secure.py @@ -55,7 +55,7 @@ class EESecureController(CementBaseController): self.app.pargs.user_input = EEVariables.ee_user if not self.app.pargs.user_pass: password = input("Provide HTTP authentication " - "password [{0}]".format(passwd)) + "password [{0}] :".format(passwd)) self.app.pargs.user_pass = password if password == "": self.app.pargs.user_pass = passwd @@ -66,10 +66,10 @@ class EESecureController(CementBaseController): .format(username=self.app.pargs.user_input, password=self.app.pargs.user_pass)) Log.info(self, "Successfully changed HTTP authentication" - " username:{username}" + " username to :{username}" .format(username=self.app.pargs.user_input)) Log.info(self, "Successfully changed HTTP authentication" - " password:{password}" + " password to :{password}" .format(password=self.app.pargs.user_pass)) @expose(hide=True) From f81b5f24a05e5dfbb85aa25219c5c183cd7b5d92 Mon Sep 17 00:00:00 2001 From: shitalp Date: Wed, 28 Jan 2015 16:23:58 +0530 Subject: [PATCH 2/2] change log message in secure.py --- ee/cli/plugins/secure.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ee/cli/plugins/secure.py b/ee/cli/plugins/secure.py index 0c7a6b8e..c6e672c1 100644 --- a/ee/cli/plugins/secure.py +++ b/ee/cli/plugins/secure.py @@ -66,10 +66,10 @@ class EESecureController(CementBaseController): .format(username=self.app.pargs.user_input, password=self.app.pargs.user_pass)) Log.info(self, "Successfully changed HTTP authentication" - " username to :{username}" + " username to : {username}" .format(username=self.app.pargs.user_input)) Log.info(self, "Successfully changed HTTP authentication" - " password to :{password}" + " password to : {password}" .format(password=self.app.pargs.user_pass)) @expose(hide=True)