File: webloginpe.class.php
Function: Register
Line: 603
// EVENT: OnBeforeWebSaveUser
foreach ($_POST as $name => $value)
{
$NewUser[$name] = $value;
}
$this->OnBeforeWebSaveUser($NewUser, array());
// If all that crap checks out, now we can create the account.
$newUser = "INSERT INTO ".$web_users." (`username`, `password`, `cachepwd`)
VALUES ('".$username."', '".md5($password)."', '".$cachepwd."')";
$createNewUser = $modx->db->query($newUser);
Uses the same variables $NewUser and $newUser for different actions
Original issue reported on code.google.com by webseei...@gmail.com on 16 Sep 2010 at 6:47
Original issue reported on code.google.com by
webseei...@gmail.com
on 16 Sep 2010 at 6:47