{"action":"created","issue":{"url":"https://api.github.com/repos/Project-Meerkat/concierge/issues/64","repository_url":"https://api.github.com/repos/Project-Meerkat/concierge","labels_url":"https://api.github.com/repos/Project-Meerkat/concierge/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/Project-Meerkat/concierge/issues/64/comments","events_url":"https://api.github.com/repos/Project-Meerkat/concierge/issues/64/events","html_url":"https://github.com/Project-Meerkat/concierge/issues/64","id":349310823,"node_id":"MDU6SXNzdWUzNDkzMTA4MjM=","number":64,"title":"It is possible to register two accounts with the same e-mailaddress (but with different casing)","user":{"login":"bartjkdp","id":5213690,"node_id":"MDQ6VXNlcjUyMTM2OTA=","avatar_url":"https://avatars2.githubusercontent.com/u/5213690?v=4","gravatar_id":"","url":"https://api.github.com/users/bartjkdp","html_url":"https://github.com/bartjkdp","followers_url":"https://api.github.com/users/bartjkdp/followers","following_url":"https://api.github.com/users/bartjkdp/following{/other_user}","gists_url":"https://api.github.com/users/bartjkdp/gists{/gist_id}","starred_url":"https://api.github.com/users/bartjkdp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartjkdp/subscriptions","organizations_url":"https://api.github.com/users/bartjkdp/orgs","repos_url":"https://api.github.com/users/bartjkdp/repos","events_url":"https://api.github.com/users/bartjkdp/events{/privacy}","received_events_url":"https://api.github.com/users/bartjkdp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-09T22:15:45Z","updated_at":"2018-08-11T14:16:49Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"It is now possible to register to e-mailddresses with the same e-mailadress but different casing, e.g.:\r\n\r\n- test@test.com\r\n- tesT@test.com\r\n\r\nWould be nice to transform e-mails always to lowercase when stored, so string comparison can be done easily."},"comment":{"url":"https://api.github.com/repos/Project-Meerkat/concierge/issues/comments/412277887","html_url":"https://github.com/Project-Meerkat/concierge/issues/64#issuecomment-412277887","issue_url":"https://api.github.com/repos/Project-Meerkat/concierge/issues/64","id":412277887,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjI3Nzg4Nw==","user":{"login":"AadSchippers","id":30410011,"node_id":"MDQ6VXNlcjMwNDEwMDEx","avatar_url":"https://avatars0.githubusercontent.com/u/30410011?v=4","gravatar_id":"","url":"https://api.github.com/users/AadSchippers","html_url":"https://github.com/AadSchippers","followers_url":"https://api.github.com/users/AadSchippers/followers","following_url":"https://api.github.com/users/AadSchippers/following{/other_user}","gists_url":"https://api.github.com/users/AadSchippers/gists{/gist_id}","starred_url":"https://api.github.com/users/AadSchippers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AadSchippers/subscriptions","organizations_url":"https://api.github.com/users/AadSchippers/orgs","repos_url":"https://api.github.com/users/AadSchippers/repos","events_url":"https://api.github.com/users/AadSchippers/events{/privacy}","received_events_url":"https://api.github.com/users/AadSchippers/received_events","type":"User","site_admin":false},"created_at":"2018-08-11T14:16:49Z","updated_at":"2018-08-11T14:16:49Z","author_association":"COLLABORATOR","body":"Hmmm, this looks it's a feature by design:\r\n```\r\nclass BaseUserManager(models.Manager):\r\n\r\n    @classmethod\r\n    def normalize_email(cls, email):\r\n        \"\"\"\r\n        Normalize the email address by lowercasing the domain part of it.\r\n        \"\"\"\r\n        email = email or ''\r\n        try:\r\n            email_name, domain_part = email.strip().rsplit('@', 1)\r\n        except ValueError:\r\n            pass\r\n        else:\r\n            email = '@'.join([email_name, domain_part.lower()])\r\n        return email\r\n```"}}
{"actor":{"display_login":"AadSchippers"}}