error_message("Add User Error", "The passwords in the "Password:" and "Retype Password:" boxes did not match. When you use your browser's back button, re-enter the passwords so they do match.", 0, 1) if $ah->{pass1} ne $ah->{pass2};
$ah->{email} = $FORMref->{email};
$ah->{fullname} = $FORMref->{fullname};
$ah->{groups} = "/$FORMref->{group}/";
$ah->{forcechange} = 1 if $FORMref->{forcechange};
my ($success, $failure) = add_account($ah, { database => "users" });