diff options
Diffstat (limited to 'mod')
-rw-r--r-- | mod/register.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mod/register.php b/mod/register.php index b162f62be..d52b5a6e1 100644 --- a/mod/register.php +++ b/mod/register.php @@ -45,7 +45,12 @@ function register_post(&$a) { require_once('include/user.php'); - $result = create_user($_POST); + $arr = $_POST; + + $arr['blocked'] = $blocked; + $arr['verified'] = $verified; + + $result = create_user($arr); if(! $result['success']) { notice($result['message']); |