{"action":"created","issue":{"url":"https://api.github.com/repos/vindia/discourse_user_importer/issues/2","labels_url":"https://api.github.com/repos/vindia/discourse_user_importer/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/vindia/discourse_user_importer/issues/2/comments","events_url":"https://api.github.com/repos/vindia/discourse_user_importer/issues/2/events","html_url":"https://github.com/vindia/discourse_user_importer/issues/2","id":71799916,"number":2,"title":"User required activation after import","user":{"login":"YesThatAllen","id":2879972,"avatar_url":"https://avatars.githubusercontent.com/u/2879972?v=3","gravatar_id":"","url":"https://api.github.com/users/YesThatAllen","html_url":"https://github.com/YesThatAllen","followers_url":"https://api.github.com/users/YesThatAllen/followers","following_url":"https://api.github.com/users/YesThatAllen/following{/other_user}","gists_url":"https://api.github.com/users/YesThatAllen/gists{/gist_id}","starred_url":"https://api.github.com/users/YesThatAllen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YesThatAllen/subscriptions","organizations_url":"https://api.github.com/users/YesThatAllen/orgs","repos_url":"https://api.github.com/users/YesThatAllen/repos","events_url":"https://api.github.com/users/YesThatAllen/events{/privacy}","received_events_url":"https://api.github.com/users/YesThatAllen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-29T07:23:14Z","updated_at":"2015-04-29T13:11:37Z","closed_at":null,"body":"Testing this today, the user I created has to be manually approved.\r\n\r\nThe username was generated from his email address (nice) and he was put into the right groups, but the user account was grayed out in the admin list.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/vindia/discourse_user_importer/issues/comments/97421519","html_url":"https://github.com/vindia/discourse_user_importer/issues/2#issuecomment-97421519","issue_url":"https://api.github.com/repos/vindia/discourse_user_importer/issues/2","id":97421519,"user":{"login":"vindia","id":523019,"avatar_url":"https://avatars.githubusercontent.com/u/523019?v=3","gravatar_id":"","url":"https://api.github.com/users/vindia","html_url":"https://github.com/vindia","followers_url":"https://api.github.com/users/vindia/followers","following_url":"https://api.github.com/users/vindia/following{/other_user}","gists_url":"https://api.github.com/users/vindia/gists{/gist_id}","starred_url":"https://api.github.com/users/vindia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vindia/subscriptions","organizations_url":"https://api.github.com/users/vindia/orgs","repos_url":"https://api.github.com/users/vindia/repos","events_url":"https://api.github.com/users/vindia/events{/privacy}","received_events_url":"https://api.github.com/users/vindia/received_events","type":"User","site_admin":false},"created_at":"2015-04-29T13:11:37Z","updated_at":"2015-04-29T13:11:37Z","body":"The greyed out name doesn't mean it has to be manually approved, but it does mean that the user has to activate their account. This is done by them logging in for the first time.\r\n\r\nTechnically I think you could set this by setting `user.active = true` but I would advise against this. Now you keep the option to filter unactivated users and send them a reminder e-mail or delete them at some point.\r\n\r\nBTW: Check also the setting in Discourse (under _Settings > Users_) called `purge unactivated users grace period days`. I set this to a very high number (9999) so my unactivated users don't get purged \"suddenly\""}}