summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-09-13 01:17:12 +0200
committerlpsolit%gmail.com <>2006-09-13 01:17:12 +0200
commitcc842c06f8dd3d3f610351f4f9f6666850a3500b (patch)
tree9359cf6a71a89521a600e3aacb649530e4d71664
parent3332dda22a14eda33c293d2fd1f2eeb73a66dc34 (diff)
downloadbugzilla-cc842c06f8dd3d3f610351f4f9f6666850a3500b.tar.gz
bugzilla-cc842c06f8dd3d3f610351f4f9f6666850a3500b.tar.xz
Bug 352355: Cannot log in on a fresh installation - Patch by Frédéric Buclin <LpSolit@gmail.com> r=bkor a=justdave
-rw-r--r--Bugzilla/Install.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/Bugzilla/Install.pm b/Bugzilla/Install.pm
index 43981da02..9c2349199 100644
--- a/Bugzilla/Install.pm
+++ b/Bugzilla/Install.pm
@@ -192,8 +192,10 @@ sub create_admin {
print get_text('install_admin_get_password') . ' ';
$password = <STDIN>;
+ chomp $password;
print "\n", get_text('install_admin_get_password2') . ' ';
my $pass2 = <STDIN>;
+ chomp $pass2;
eval { validate_password($password, $pass2); };
if ($@) {
print "\n$@\n";