mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
Bug fix by Brian Jones <cbj@nortel.net> -- was failing to create new users.
This commit is contained in:
parent
31be38a404
commit
b2cf544f13
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user