{"action":"closed","issue":{"url":"https://api.github.com/repos/DefactoSoftware/Hours/issues/126","labels_url":"https://api.github.com/repos/DefactoSoftware/Hours/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/DefactoSoftware/Hours/issues/126/comments","events_url":"https://api.github.com/repos/DefactoSoftware/Hours/issues/126/events","html_url":"https://github.com/DefactoSoftware/Hours/issues/126","id":39760837,"number":126,"title":"Easier way to restrict subdomains?","user":{"login":"jurre","id":749864,"avatar_url":"https://avatars.githubusercontent.com/u/749864?v=3","gravatar_id":"","url":"https://api.github.com/users/jurre","html_url":"https://github.com/jurre","followers_url":"https://api.github.com/users/jurre/followers","following_url":"https://api.github.com/users/jurre/following{/other_user}","gists_url":"https://api.github.com/users/jurre/gists{/gist_id}","starred_url":"https://api.github.com/users/jurre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jurre/subscriptions","organizations_url":"https://api.github.com/users/jurre/orgs","repos_url":"https://api.github.com/users/jurre/repos","events_url":"https://api.github.com/users/jurre/events{/privacy}","received_events_url":"https://api.github.com/users/jurre/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2014-08-07T19:42:54Z","updated_at":"2015-01-13T00:09:53Z","closed_at":"2015-01-13T00:09:53Z","body":"After open sourcing Hours it won't make sense for a lot of people to allow subdomains, maybe we could provide an application setting (through an `env` variable maybe?) that specifies one or more subdomains to allow and then add a validation to the Account model that checks for this?"}}