{"action":"created","issue":{"url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/332","labels_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/332/labels{/name}","comments_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/332/comments","events_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/332/events","html_url":"https://github.com/openfoodfoundation/openfoodnetwork/issues/332","id":55253983,"number":332,"title":"Should not get email confirmation request for new enterprise if Contact email is already validated","user":{"login":"kirstenalarsen","id":2911176,"avatar_url":"https://avatars.githubusercontent.com/u/2911176?v=3","gravatar_id":"","url":"https://api.github.com/users/kirstenalarsen","html_url":"https://github.com/kirstenalarsen","followers_url":"https://api.github.com/users/kirstenalarsen/followers","following_url":"https://api.github.com/users/kirstenalarsen/following{/other_user}","gists_url":"https://api.github.com/users/kirstenalarsen/gists{/gist_id}","starred_url":"https://api.github.com/users/kirstenalarsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirstenalarsen/subscriptions","organizations_url":"https://api.github.com/users/kirstenalarsen/orgs","repos_url":"https://api.github.com/users/kirstenalarsen/repos","events_url":"https://api.github.com/users/kirstenalarsen/events{/privacy}","received_events_url":"https://api.github.com/users/kirstenalarsen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-23T07:47:22Z","updated_at":"2015-01-23T08:01:14Z","closed_at":null,"body":"This is definitely happening. \r\nWas signed in as hello@ofn, created a new Enterprise *from the admin side*; and put kirsten@eaterprises.com.au as the contact. Have also just tested from the front /register and the same thing happens. \r\n\r\nEmail confirmation request sent, as below\r\n\r\n![image](https://cloud.githubusercontent.com/assets/2911176/5871010/10cd509a-a32b-11e4-9966-b8e495d25c2c.png)\r\n"},"comment":{"url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/comments/71159255","html_url":"https://github.com/openfoodfoundation/openfoodnetwork/issues/332#issuecomment-71159255","issue_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/332","id":71159255,"user":{"login":"kirstenalarsen","id":2911176,"avatar_url":"https://avatars.githubusercontent.com/u/2911176?v=3","gravatar_id":"","url":"https://api.github.com/users/kirstenalarsen","html_url":"https://github.com/kirstenalarsen","followers_url":"https://api.github.com/users/kirstenalarsen/followers","following_url":"https://api.github.com/users/kirstenalarsen/following{/other_user}","gists_url":"https://api.github.com/users/kirstenalarsen/gists{/gist_id}","starred_url":"https://api.github.com/users/kirstenalarsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirstenalarsen/subscriptions","organizations_url":"https://api.github.com/users/kirstenalarsen/orgs","repos_url":"https://api.github.com/users/kirstenalarsen/repos","events_url":"https://api.github.com/users/kirstenalarsen/events{/privacy}","received_events_url":"https://api.github.com/users/kirstenalarsen/received_events","type":"User","site_admin":false},"created_at":"2015-01-23T08:01:14Z","updated_at":"2015-01-23T08:01:14Z","body":"looks like it is only doing it the first time, so then if the creating User (different from the contact one) creates another Enterprise with that contact, it doesn't resend the email confirmation email"}}