{"action":"created","issue":{"url":"https://api.github.com/repos/processing/p5.js-web-editor/issues/113","repository_url":"https://api.github.com/repos/processing/p5.js-web-editor","labels_url":"https://api.github.com/repos/processing/p5.js-web-editor/issues/113/labels{/name}","comments_url":"https://api.github.com/repos/processing/p5.js-web-editor/issues/113/comments","events_url":"https://api.github.com/repos/processing/p5.js-web-editor/issues/113/events","html_url":"https://github.com/processing/p5.js-web-editor/issues/113","id":180117618,"number":113,"title":"Everyone in class has access to one students' account","user":{"login":"bensk","id":7450756,"avatar_url":"https://avatars.githubusercontent.com/u/7450756?v=3","gravatar_id":"","url":"https://api.github.com/users/bensk","html_url":"https://github.com/bensk","followers_url":"https://api.github.com/users/bensk/followers","following_url":"https://api.github.com/users/bensk/following{/other_user}","gists_url":"https://api.github.com/users/bensk/gists{/gist_id}","starred_url":"https://api.github.com/users/bensk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bensk/subscriptions","organizations_url":"https://api.github.com/users/bensk/orgs","repos_url":"https://api.github.com/users/bensk/repos","events_url":"https://api.github.com/users/bensk/events{/privacy}","received_events_url":"https://api.github.com/users/bensk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-09-29T17:51:42Z","updated_at":"2016-12-06T04:14:43Z","closed_at":null,"body":"Hey it's me again, your favorite High School CS teacher. \n\nEveryone in my AP CS class now has access to the account `Mikey316` and their own work has disappeared. That's weird, right?\n"},"comment":{"url":"https://api.github.com/repos/processing/p5.js-web-editor/issues/comments/265056215","html_url":"https://github.com/processing/p5.js-web-editor/issues/113#issuecomment-265056215","issue_url":"https://api.github.com/repos/processing/p5.js-web-editor/issues/113","id":265056215,"user":{"login":"catarak","id":6063380,"avatar_url":"https://avatars.githubusercontent.com/u/6063380?v=3","gravatar_id":"","url":"https://api.github.com/users/catarak","html_url":"https://github.com/catarak","followers_url":"https://api.github.com/users/catarak/followers","following_url":"https://api.github.com/users/catarak/following{/other_user}","gists_url":"https://api.github.com/users/catarak/gists{/gist_id}","starred_url":"https://api.github.com/users/catarak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catarak/subscriptions","organizations_url":"https://api.github.com/users/catarak/orgs","repos_url":"https://api.github.com/users/catarak/repos","events_url":"https://api.github.com/users/catarak/events{/privacy}","received_events_url":"https://api.github.com/users/catarak/received_events","type":"User","site_admin":false},"created_at":"2016-12-06T04:14:43Z","updated_at":"2016-12-06T04:14:43Z","body":"I think the steps to reproduce this are\r\n1. Open one window to the editor and login\r\n2. Open another window to the editor\r\n3. Logout on one of the windows\r\n4. The other window still appears to be logged in. Click on \"Open\" in the navigation and there are no sketches.\r\nDoes this seem plausible?\r\n\r\nI also noticed that the app gets into a similarly weird state if you\r\n1. Open one window to the editor and login\r\n2. Open another window to the editor\r\n3. Logout on one of the windows and then log into another account\r\n\r\nI think there needs to be some event listener on the cookies to solve this. "}}
{"actor":{"display_login":"catarak"}}