Bug fix by Brian Jones <cbj@nortel.net> -- was failing to create new users.

This commit is contained in:
terry%netscape.com 1998-09-17 00:21:07 +00:00
parent 31be38a404
commit b2cf544f13

View 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;
}