From 3de0d940b7d36d5405882ca6903247ec4c60b316 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Fri, 27 Sep 2013 17:37:42 +0200 Subject: [PATCH] Adds database password mask --- .../files/lib/system/cli/command/ImportCLICommand.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/cli/command/ImportCLICommand.class.php b/wcfsetup/install/files/lib/system/cli/command/ImportCLICommand.class.php index ca4281ac52..f049b8fac7 100644 --- a/wcfsetup/install/files/lib/system/cli/command/ImportCLICommand.class.php +++ b/wcfsetup/install/files/lib/system/cli/command/ImportCLICommand.class.php @@ -210,7 +210,7 @@ class ImportCLICommand implements ICLICommand { if ($this->dbHost === null) exit; $this->dbUser = CLIWCF::getReader()->readLine(WCF::getLanguage()->get('wcf.acp.dataImport.configure.database.user').'> '); if ($this->dbUser === null) exit; - $this->dbPassword = CLIWCF::getReader()->readLine(WCF::getLanguage()->get('wcf.acp.dataImport.configure.database.password').'> '); + $this->dbPassword = CLIWCF::getReader()->readLine(WCF::getLanguage()->get('wcf.acp.dataImport.configure.database.password').'> ', '*'); if ($this->dbPassword === null) exit; $this->dbName = CLIWCF::getReader()->readLine(WCF::getLanguage()->get('wcf.acp.dataImport.configure.database.name').'> '); if ($this->dbName === null) exit; -- 2.20.1