summaryrefslogtreecommitdiff
path: root/installer
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-05-11 07:20:03 +0000
committeralecpl <alec@alec.pl>2008-05-11 07:20:03 +0000
commit2e90ff5b62e8d9faaa39e042960c54034fcafa1e (patch)
tree2d100a1237c3b3143a926bda4781b73e655739a9 /installer
parent30606bf9aa73c9ff89c6356c3341448cfa3a436b (diff)
- Make password input fields of type password in installer (#1484886)
Diffstat (limited to 'installer')
-rw-r--r--installer/config.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/installer/config.php b/installer/config.php
index d6b5526d9..c257f8131 100644
--- a/installer/config.php
+++ b/installer/config.php
@@ -199,7 +199,7 @@ foreach ($supported_dbs AS $database => $ext) {
$input_dbhost = new html_inputfield(array('name' => '_dbhost', 'size' => 20, 'id' => "cfgdbhost"));
$input_dbname = new html_inputfield(array('name' => '_dbname', 'size' => 20, 'id' => "cfgdbname"));
$input_dbuser = new html_inputfield(array('name' => '_dbuser', 'size' => 20, 'id' => "cfgdbuser"));
-$input_dbpass = new html_inputfield(array('name' => '_dbpass', 'size' => 20, 'id' => "cfgdbpass"));
+$input_dbpass = new html_passwordfield(array('name' => '_dbpass', 'size' => 20, 'id' => "cfgdbpass"));
$dsnw = DB::parseDSN($RCI->getprop('db_dsnw'));
@@ -386,7 +386,7 @@ echo $text_smtpport->show($RCI->getprop('smtp_port'));
<?php
$text_smtpuser = new html_inputfield(array('name' => '_smtp_user', 'size' => 20, 'id' => "cfgsmtpuser"));
-$text_smtppass = new html_inputfield(array('name' => '_smtp_pass', 'size' => 20, 'id' => "cfgsmtppass"));
+$text_smtppass = new html_passwordfield(array('name' => '_smtp_pass', 'size' => 20, 'id' => "cfgsmtppass"));
echo $text_smtpuser->show($RCI->getprop('smtp_user'));
echo $text_smtppass->show($RCI->getprop('smtp_pass'));