{"action":"closed","issue":{"url":"https://api.github.com/repos/chaws/colab-super_archives-plugin/issues/2","labels_url":"https://api.github.com/repos/chaws/colab-super_archives-plugin/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/chaws/colab-super_archives-plugin/issues/2/comments","events_url":"https://api.github.com/repos/chaws/colab-super_archives-plugin/issues/2/events","html_url":"https://github.com/chaws/colab-super_archives-plugin/issues/2","id":109439956,"number":2,"title":"Find a way to validate user email on creation","user":{"login":"chaws","id":2254825,"avatar_url":"https://avatars.githubusercontent.com/u/2254825?v=3","gravatar_id":"","url":"https://api.github.com/users/chaws","html_url":"https://github.com/chaws","followers_url":"https://api.github.com/users/chaws/followers","following_url":"https://api.github.com/users/chaws/following{/other_user}","gists_url":"https://api.github.com/users/chaws/gists{/gist_id}","starred_url":"https://api.github.com/users/chaws/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chaws/subscriptions","organizations_url":"https://api.github.com/users/chaws/orgs","repos_url":"https://api.github.com/users/chaws/repos","events_url":"https://api.github.com/users/chaws/events{/privacy}","received_events_url":"https://api.github.com/users/chaws/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-02T07:01:19Z","updated_at":"2015-10-08T04:01:13Z","closed_at":"2015-10-08T04:01:13Z","body":"On colab/accounts/views.py there's:\r\nemail = EmailAddressValidation.create(user.email, user)\r\n\r\n    location = reverse('archive_email_view',\r\n                       kwargs={'key': email.validation_key})\r\n    verification_url = request.build_absolute_uri(location)\r\n    EmailAddressValidation.verify_email(email, verification_url)\r\n\r\n    # Check if the user's email have been used previously\r\n    #   in the mainling lists to link the user to old messages\r\n    email_addr, created = EmailAddress.objects.get_or_create(\r\n        address=user.email)\r\n    if created:\r\n        email_addr.real_name = user.get_full_name()\r\n\r\n    email_addr.user = user\r\n    email_addr.save()\r\nLet's try to find a way to do email validation using plugin"}}