{"action":"created","issue":{"url":"https://api.github.com/repos/ubernostrum/django-registration/issues/50","repository_url":"https://api.github.com/repos/ubernostrum/django-registration","labels_url":"https://api.github.com/repos/ubernostrum/django-registration/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/ubernostrum/django-registration/issues/50/comments","events_url":"https://api.github.com/repos/ubernostrum/django-registration/issues/50/events","html_url":"https://github.com/ubernostrum/django-registration/issues/50","id":162145064,"node_id":"MDU6SXNzdWUxNjIxNDUwNjQ=","number":50,"title":"Impossible to catch activation errors","user":{"login":"alorence","id":1702273,"node_id":"MDQ6VXNlcjE3MDIyNzM=","avatar_url":"https://avatars2.githubusercontent.com/u/1702273?v=4","gravatar_id":"","url":"https://api.github.com/users/alorence","html_url":"https://github.com/alorence","followers_url":"https://api.github.com/users/alorence/followers","following_url":"https://api.github.com/users/alorence/following{/other_user}","gists_url":"https://api.github.com/users/alorence/gists{/gist_id}","starred_url":"https://api.github.com/users/alorence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alorence/subscriptions","organizations_url":"https://api.github.com/users/alorence/orgs","repos_url":"https://api.github.com/users/alorence/repos","events_url":"https://api.github.com/users/alorence/events{/privacy}","received_events_url":"https://api.github.com/users/alorence/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-06-24T13:20:00Z","updated_at":"2018-06-13T09:32:31Z","closed_at":null,"author_association":"NONE","body":"At the moment, on django-registration 2.1.2, there is no way to catch some common error case.\n\nThere is at least 2 common cases that could be helpful to catch:\n1. The user copy /paste the right link, but after the allowed time window ended (link is outdated)\n2. The user makes an error when copy / pasting the activation link. Or, since the activation email is sent as plain/text and some mail clients fail to automatically setup a link to the page, the user clicked on this kind of link:\n   \n   [http://server/accounts/activate/ImFudG9pbmVsb3JlbmNlIg](http://server/accounts/activate/ImFudG9pbmVsb3JlbmNlIg):1bGQdx:5ovhXqGm1JsYFVeCPYwDT8HmUx8/\n\nIn both case, the view simply loads the default template `registration/activate.html`. So there is no easy way to display a message to the user, to inform on what he can do now (depending on the error that happened). In addition, it could be useful for the administrator to also be notified in such cases. For example, a signal could be sent, or a callback function could be called.\n\nFinally, when such an error happen, the user is not activated, and if the administrator doesn't do anything manually, the user will not have a chance to resolve his case. The only way out is to register again with another username (because it must be unique). This can lead to a many junk accounts created, if the user really want to create his account but don't understand why the activation link don't work for him.\n"},"comment":{"url":"https://api.github.com/repos/ubernostrum/django-registration/issues/comments/396875931","html_url":"https://github.com/ubernostrum/django-registration/issues/50#issuecomment-396875931","issue_url":"https://api.github.com/repos/ubernostrum/django-registration/issues/50","id":396875931,"node_id":"MDEyOklzc3VlQ29tbWVudDM5Njg3NTkzMQ==","user":{"login":"ubernostrum","id":12384,"node_id":"MDQ6VXNlcjEyMzg0","avatar_url":"https://avatars0.githubusercontent.com/u/12384?v=4","gravatar_id":"","url":"https://api.github.com/users/ubernostrum","html_url":"https://github.com/ubernostrum","followers_url":"https://api.github.com/users/ubernostrum/followers","following_url":"https://api.github.com/users/ubernostrum/following{/other_user}","gists_url":"https://api.github.com/users/ubernostrum/gists{/gist_id}","starred_url":"https://api.github.com/users/ubernostrum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ubernostrum/subscriptions","organizations_url":"https://api.github.com/users/ubernostrum/orgs","repos_url":"https://api.github.com/users/ubernostrum/repos","events_url":"https://api.github.com/users/ubernostrum/events{/privacy}","received_events_url":"https://api.github.com/users/ubernostrum/received_events","type":"User","site_admin":false},"created_at":"2018-06-13T09:32:31Z","updated_at":"2018-06-13T09:32:31Z","author_association":"OWNER","body":"Let me know what you think of c73a143bb42f886976a0aeb135bf6e675c291109 as a solutin."}}
{"actor":{"display_login":"ubernostrum"}}