summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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";