.map_err(|_| ApiError::err("user_already_exists"))?;
// Create the local user
+ // TODO some of these could probably use the DB defaults
let local_user_form = LocalUserForm {
person_id: inserted_person.id,
email: Some(data.email.to_owned()),
show_avatars: Some(true),
show_scores: Some(true),
show_read_posts: Some(true),
+ show_new_post_notifs: Some(false),
send_notifications_to_email: Some(false),
};