{"action":"created","issue":{"url":"https://api.github.com/repos/edx/edx-platform/issues/7308","labels_url":"https://api.github.com/repos/edx/edx-platform/issues/7308/labels{/name}","comments_url":"https://api.github.com/repos/edx/edx-platform/issues/7308/comments","events_url":"https://api.github.com/repos/edx/edx-platform/issues/7308/events","html_url":"https://github.com/edx/edx-platform/pull/7308","id":60700130,"number":7308,"title":"Deactivated users should not be able to re-activate their account","user":{"login":"regisb","id":44319,"avatar_url":"https://avatars.githubusercontent.com/u/44319?v=3","gravatar_id":"","url":"https://api.github.com/users/regisb","html_url":"https://github.com/regisb","followers_url":"https://api.github.com/users/regisb/followers","following_url":"https://api.github.com/users/regisb/following{/other_user}","gists_url":"https://api.github.com/users/regisb/gists{/gist_id}","starred_url":"https://api.github.com/users/regisb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/regisb/subscriptions","organizations_url":"https://api.github.com/users/regisb/orgs","repos_url":"https://api.github.com/users/regisb/repos","events_url":"https://api.github.com/users/regisb/events{/privacy}","received_events_url":"https://api.github.com/users/regisb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/edx/edx-platform/labels/needs%20triage","name":"needs triage","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-11T17:54:23Z","updated_at":"2015-03-11T21:07:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/edx/edx-platform/pulls/7308","html_url":"https://github.com/edx/edx-platform/pull/7308","diff_url":"https://github.com/edx/edx-platform/pull/7308.diff","patch_url":"https://github.com/edx/edx-platform/pull/7308.patch"},"body":"**Context:** Registration links can be used multiple times, including by users whose account has been manually deactivated by an administrator. This issue can be illustrated by deactivating a user (via the admin page) and then trying to login with this same user: an email containing the activation link will be sent again, which is undesirable (IMHO).\r\n\r\n**Proposed solution:** Registration links are flagged as 'used' whenever a user activates her account. \r\n\r\nThis PR includes a schema migration, a data migration and a new string to translate."},"comment":{"url":"https://api.github.com/repos/edx/edx-platform/issues/comments/78371917","html_url":"https://github.com/edx/edx-platform/pull/7308#issuecomment-78371917","issue_url":"https://api.github.com/repos/edx/edx-platform/issues/7308","id":78371917,"user":{"login":"sarina","id":1985317,"avatar_url":"https://avatars.githubusercontent.com/u/1985317?v=3","gravatar_id":"","url":"https://api.github.com/users/sarina","html_url":"https://github.com/sarina","followers_url":"https://api.github.com/users/sarina/followers","following_url":"https://api.github.com/users/sarina/following{/other_user}","gists_url":"https://api.github.com/users/sarina/gists{/gist_id}","starred_url":"https://api.github.com/users/sarina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarina/subscriptions","organizations_url":"https://api.github.com/users/sarina/orgs","repos_url":"https://api.github.com/users/sarina/repos","events_url":"https://api.github.com/users/sarina/events{/privacy}","received_events_url":"https://api.github.com/users/sarina/received_events","type":"User","site_admin":false},"created_at":"2015-03-11T21:07:35Z","updated_at":"2015-03-11T21:07:35Z","body":"@regisb thanks for the patch - the product team will take a look at it tomorrow.\r\n\r\nis there a reason for having 2 data migrations in the same app? I think it would be better to regenerate a single migration for all the changes in your work (this can be done later though, once you've gotten feedback, just want to give you a heads up)"}}