]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug fix by Brian Jones <cbj@nortel.net> -- was failing to create new users.
authorterry%netscape.com <>
Thu, 17 Sep 1998 07:21:07 +0000 (07:21 +0000)
committerterry%netscape.com <>
Thu, 17 Sep 1998 07:21:07 +0000 (07:21 +0000)
globals.pl

index 194d00d0719c9b5e90e6294a7388e7bab54d015a..2a33aa9c4e3478c060b910a45adc66d92edaf7e4 100644 (file)
@@ -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;
 }