{"action":"created","issue":{"url":"https://api.github.com/repos/Cadasta/cadasta-platform/issues/927","repository_url":"https://api.github.com/repos/Cadasta/cadasta-platform","labels_url":"https://api.github.com/repos/Cadasta/cadasta-platform/issues/927/labels{/name}","comments_url":"https://api.github.com/repos/Cadasta/cadasta-platform/issues/927/comments","events_url":"https://api.github.com/repos/Cadasta/cadasta-platform/issues/927/events","html_url":"https://github.com/Cadasta/cadasta-platform/issues/927","id":188717506,"number":927,"title":"As a superuser, activating a user fails","user":{"login":"oliverroick","id":159510,"avatar_url":"https://avatars.githubusercontent.com/u/159510?v=3","gravatar_id":"","url":"https://api.github.com/users/oliverroick","html_url":"https://github.com/oliverroick","followers_url":"https://api.github.com/users/oliverroick/followers","following_url":"https://api.github.com/users/oliverroick/following{/other_user}","gists_url":"https://api.github.com/users/oliverroick/gists{/gist_id}","starred_url":"https://api.github.com/users/oliverroick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliverroick/subscriptions","organizations_url":"https://api.github.com/users/oliverroick/orgs","repos_url":"https://api.github.com/users/oliverroick/repos","events_url":"https://api.github.com/users/oliverroick/events{/privacy}","received_events_url":"https://api.github.com/users/oliverroick/received_events","type":"User","site_admin":false},"labels":[{"id":285360363,"url":"https://api.github.com/repos/Cadasta/cadasta-platform/labels/bug","name":"bug","color":"ff0000","default":true},{"id":319853178,"url":"https://api.github.com/repos/Cadasta/cadasta-platform/labels/medium%20priority","name":"medium priority","color":"eeee66","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-11T09:20:13Z","updated_at":"2016-11-14T10:24:47Z","closed_at":null,"body":"### Steps to reproduce the error\r\n\r\nOn the development VM, with fixtures loaded:\r\n\r\n1. Login as a superuser (either _iross_ or _oroick_)\r\n2. Go to the user view (it's the link in the menu)\r\n3. Active _testuser10_.\r\n4. Logout\r\n5. Login as _testuser10_\r\n\r\n### Actual behavior\r\n\r\nThe account of _testuser10_ is still inactive.\r\n\r\n### Expected behavior\r\n\r\nThe account of _testuser10_ is active. \r\n\r\n### The culprit \r\n\r\n`organization.views.default.UserActivation` sets the field `is_active` to the correct state; in the example above it is `True`. _testuser10_'s email verification period has expired; when they try to login, the account will be deactivated immediately. \r\n\r\nShould `organization.views.default.UserActivation` also set `email_verified` to `True` (i.e. manually confirming the email address) when activating the account?"},"comment":{"url":"https://api.github.com/repos/Cadasta/cadasta-platform/issues/comments/260299441","html_url":"https://github.com/Cadasta/cadasta-platform/issues/927#issuecomment-260299441","issue_url":"https://api.github.com/repos/Cadasta/cadasta-platform/issues/927","id":260299441,"user":{"login":"seav","id":873653,"avatar_url":"https://avatars.githubusercontent.com/u/873653?v=3","gravatar_id":"","url":"https://api.github.com/users/seav","html_url":"https://github.com/seav","followers_url":"https://api.github.com/users/seav/followers","following_url":"https://api.github.com/users/seav/following{/other_user}","gists_url":"https://api.github.com/users/seav/gists{/gist_id}","starred_url":"https://api.github.com/users/seav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seav/subscriptions","organizations_url":"https://api.github.com/users/seav/orgs","repos_url":"https://api.github.com/users/seav/repos","events_url":"https://api.github.com/users/seav/events{/privacy}","received_events_url":"https://api.github.com/users/seav/received_events","type":"User","site_admin":false},"created_at":"2016-11-14T10:24:47Z","updated_at":"2016-11-14T10:24:47Z","body":"Can we actually say that the email is verified if it was never verified? The email could be wrong, for one thing. Maybe activating the user means just resetting the expiration period."}}
{"actor":{"display_login":"seav"}}