Adds database password mask
authorMatthias Schmidt <gravatronics@live.com>
Fri, 27 Sep 2013 15:37:42 +0000 (17:37 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Fri, 27 Sep 2013 15:37:42 +0000 (17:37 +0200)
wcfsetup/install/files/lib/system/cli/command/ImportCLICommand.class.php

index ca4281ac52cf040629232203d7580307592b4234..f049b8fac7b1e6b1a28581d04eaf2cfcd779d9a5 100644 (file)
@@ -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;