From b88aac2747e311bf2e5b7294fe857bf52d667718 Mon Sep 17 00:00:00 2001 From: "terry%netscape.com" <> Date: Thu, 17 Sep 1998 07:21:07 +0000 Subject: Bug fix by Brian Jones -- was failing to create new users. --- globals.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3-24-g4f1b