From 2e90ff5b62e8d9faaa39e042960c54034fcafa1e Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Sun, 11 May 2008 03:20:03 -0400
Subject: [PATCH] - Make password input fields of type password in installer (#1484886)
---
CHANGELOG | 3 +++
installer/config.php | 4 ++--
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/CHANGELOG b/CHANGELOG
index 286fa89..7d4c81c 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,9 @@
CHANGELOG RoundCube Webmail
---------------------------
+2008/05/10 (alec)
+- Make password input fields of type password in installer (#1484886)
+
2008/05/09 (alec)
- Don't call CAPABILITY if was recieved as server's optional response
on connect (RFC3501 [7.1])
diff --git a/installer/config.php b/installer/config.php
index d6b5526..c257f81 100644
--- a/installer/config.php
+++ b/installer/config.php
@@ -199,7 +199,7 @@
$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 @@
<?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'));
--
Gitblit v1.9.1