if ($POST['pass1'] == $POST['pass2']) {
// Okay, then set password and remove pass1 and pass2
$POST['password'] = md5($POST['pass1']);
if ($POST['pass1'] == $POST['pass2']) {
// Okay, then set password and remove pass1 and pass2
$POST['password'] = md5($POST['pass1']);