This commit is contained in:
friendica 2013-09-04 22:23:53 -07:00
parent 99ea251b12
commit a88437a1ef

View File

@ -64,6 +64,12 @@ function register_post(&$a) {
break;
}
if((! $_POST['password']) || ($_POST['password'] !== $_POST['password2'])) {
notice( t('Passwords do not match.') . EOL);
return;
}
$arr = $_POST;
$arr['account_flags'] = $flags;