diff options
author | terry%netscape.com <> | 1998-09-17 09:21:07 +0200 |
---|---|---|
committer | terry%netscape.com <> | 1998-09-17 09:21:07 +0200 |
commit | b88aac2747e311bf2e5b7294fe857bf52d667718 (patch) | |
tree | 3fca0aa41c9b6f73034e36f444163c0b1d828257 | |
parent | 2e4e8698f87145469e45afe37bc30307dafc2cf0 (diff) | |
download | bugzilla-b88aac2747e311bf2e5b7294fe857bf52d667718.tar.gz bugzilla-b88aac2747e311bf2e5b7294fe857bf52d667718.tar.xz |
Bug fix by Brian Jones <cbj@nortel.net> -- was failing to create new users.
-rw-r--r-- | globals.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/globals.pl b/globals.pl index 194d00d07..2a33aa9c4 100644 --- a/globals.pl +++ b/globals.pl @@ -326,7 +326,7 @@ sub InsertNewUser { for (my $i=0 ; $i<8 ; $i++) { $password .= substr("abcdefghijklmnopqrstuvwxyz", int(rand(26)), 1); } - SendSQL("insert into profiles (login_name, password, cryptpassword) values (@{[SqlQuote($username)]}, '$password', encrypt('$password')"); + SendSQL("insert into profiles (login_name, password, cryptpassword) values (@{[SqlQuote($username)]}, '$password', encrypt('$password'))"); return $password; } |