Dont print password when we convert Configuration to a string, this is just too unsafe.

This commit is contained in:
Austen McDonald
2016-07-25 21:36:04 +00:00
parent 3090dece7f
commit bc297076fa
+1 -1
View File
@@ -128,7 +128,7 @@ class Configuration
$s .= " dsn: " . $this->getDatabaseDSN() . "\n";
$s .= " name: " . $this->getDatabaseName() . "\n";
$s .= " user: " . $this->getDatabaseUser() . "\n";
$s .= " password: " . $this->getDatabasePassword() . "\n";
$s .= " password: <hidden>\n";
$s .= "logs:\n";
$s .= " path: " . $this->getLogPath() . "\n";