issue #107
This commit is contained in:
parent
99ea251b12
commit
a88437a1ef
@ -64,6 +64,12 @@ function register_post(&$a) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
if((! $_POST['password']) || ($_POST['password'] !== $_POST['password2'])) {
|
||||||
|
notice( t('Passwords do not match.') . EOL);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
$arr = $_POST;
|
$arr = $_POST;
|
||||||
$arr['account_flags'] = $flags;
|
$arr['account_flags'] = $flags;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user