{"action":"created","issue":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/3199","labels_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/3199/labels{/name}","comments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/3199/comments","events_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/3199/events","html_url":"https://github.com/CenterForOpenScience/osf.io/pull/3199","id":89310864,"number":3199,"title":"Fix twofactor warning message","user":{"login":"zkraime","id":11323460,"avatar_url":"https://avatars.githubusercontent.com/u/11323460?v=3","gravatar_id":"","url":"https://api.github.com/users/zkraime","html_url":"https://github.com/zkraime","followers_url":"https://api.github.com/users/zkraime/followers","following_url":"https://api.github.com/users/zkraime/following{/other_user}","gists_url":"https://api.github.com/users/zkraime/gists{/gist_id}","starred_url":"https://api.github.com/users/zkraime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zkraime/subscriptions","organizations_url":"https://api.github.com/users/zkraime/orgs","repos_url":"https://api.github.com/users/zkraime/repos","events_url":"https://api.github.com/users/zkraime/events{/privacy}","received_events_url":"https://api.github.com/users/zkraime/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"sloria","id":2379650,"avatar_url":"https://avatars.githubusercontent.com/u/2379650?v=3","gravatar_id":"","url":"https://api.github.com/users/sloria","html_url":"https://github.com/sloria","followers_url":"https://api.github.com/users/sloria/followers","following_url":"https://api.github.com/users/sloria/following{/other_user}","gists_url":"https://api.github.com/users/sloria/gists{/gist_id}","starred_url":"https://api.github.com/users/sloria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sloria/subscriptions","organizations_url":"https://api.github.com/users/sloria/orgs","repos_url":"https://api.github.com/users/sloria/repos","events_url":"https://api.github.com/users/sloria/events{/privacy}","received_events_url":"https://api.github.com/users/sloria/received_events","type":"User","site_admin":false},"milestone":null,"comments":11,"created_at":"2015-06-18T14:39:17Z","updated_at":"2015-08-04T18:48:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/3199","html_url":"https://github.com/CenterForOpenScience/osf.io/pull/3199","diff_url":"https://github.com/CenterForOpenScience/osf.io/pull/3199.diff","patch_url":"https://github.com/CenterForOpenScience/osf.io/pull/3199.patch"},"body":"<h2>Purpose:</h2> \r\n<p>Issue #2385: To remove the persisting warning message after authenticating the two-factor addon so that it doesn't continue to say \"Please activate your device before continuing\" at the top of the page</p>\r\n\r\n<h2>Changes:</h2>\r\n<p>If entered the correct verification code, hitting submit enables the twofactor addon (assuming correct verification code), displays the returned JSON message, and closes the warning message at the top</p>\r\n\r\nBefore verification:\r\n![screen shot 2015-06-18 at 10 36 19 am](https://cloud.githubusercontent.com/assets/11323460/8233794/25c23310-15a6-11e5-97bc-62812527bb67.png)\r\n\r\nAfter:\r\n![screen shot 2015-06-18 at 10 36 41 am](https://cloud.githubusercontent.com/assets/11323460/8233801/30acac7e-15a6-11e5-92be-ce163cd39df0.png)\r\n\r\n\r\n\r\n<h2>Side effects:</h2>\r\n<p>This might not be the ideal solution</p>"},"comment":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/comments/127710863","html_url":"https://github.com/CenterForOpenScience/osf.io/pull/3199#issuecomment-127710863","issue_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/3199","id":127710863,"user":{"login":"zkraime","id":11323460,"avatar_url":"https://avatars.githubusercontent.com/u/11323460?v=3","gravatar_id":"","url":"https://api.github.com/users/zkraime","html_url":"https://github.com/zkraime","followers_url":"https://api.github.com/users/zkraime/followers","following_url":"https://api.github.com/users/zkraime/following{/other_user}","gists_url":"https://api.github.com/users/zkraime/gists{/gist_id}","starred_url":"https://api.github.com/users/zkraime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zkraime/subscriptions","organizations_url":"https://api.github.com/users/zkraime/orgs","repos_url":"https://api.github.com/users/zkraime/repos","events_url":"https://api.github.com/users/zkraime/events{/privacy}","received_events_url":"https://api.github.com/users/zkraime/received_events","type":"User","site_admin":false},"created_at":"2015-08-04T18:48:04Z","updated_at":"2015-08-04T18:48:04Z","body":"@sloria Though TFA has been moved to Account Settings, the issue with the status messages is still present. But I'm wondering, it seems like they're unnecessary to include at all (they show up after refreshing) since the form displays the necessary update messages. What do you think? "}}