{"action":"created","issue":{"url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/issues/85","labels_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/issues/85/comments","events_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/issues/85/events","html_url":"https://github.com/RCOS-Grading-Server/HWserver/pull/85","id":71697520,"number":85,"title":"Logout button","user":{"login":"V1ct0r-SLiNv-Zhu","id":6207334,"avatar_url":"https://avatars.githubusercontent.com/u/6207334?v=3","gravatar_id":"","url":"https://api.github.com/users/V1ct0r-SLiNv-Zhu","html_url":"https://github.com/V1ct0r-SLiNv-Zhu","followers_url":"https://api.github.com/users/V1ct0r-SLiNv-Zhu/followers","following_url":"https://api.github.com/users/V1ct0r-SLiNv-Zhu/following{/other_user}","gists_url":"https://api.github.com/users/V1ct0r-SLiNv-Zhu/gists{/gist_id}","starred_url":"https://api.github.com/users/V1ct0r-SLiNv-Zhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/V1ct0r-SLiNv-Zhu/subscriptions","organizations_url":"https://api.github.com/users/V1ct0r-SLiNv-Zhu/orgs","repos_url":"https://api.github.com/users/V1ct0r-SLiNv-Zhu/repos","events_url":"https://api.github.com/users/V1ct0r-SLiNv-Zhu/events{/privacy}","received_events_url":"https://api.github.com/users/V1ct0r-SLiNv-Zhu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-28T20:41:51Z","updated_at":"2015-04-30T19:26:00Z","closed_at":"2015-04-28T20:49:00Z","pull_request":{"url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/pulls/85","html_url":"https://github.com/RCOS-Grading-Server/HWserver/pull/85","diff_url":"https://github.com/RCOS-Grading-Server/HWserver/pull/85.diff","patch_url":"https://github.com/RCOS-Grading-Server/HWserver/pull/85.patch"},"body":"Basic HTTP Authentication is an ancient(15+ -year-old) auth method that\r\nwasn't designed to manage logging out. Thus the only way to log out is\r\nclosing the browser(not only the current tab). There are some\r\nhacks/workaround online but they are not comprehensively compatible to\r\ndifferent browsers or OS.\r\n\r\nFor now I am just adding a pop up script to reminds users to close the\r\nbrowser if they want to log out or don't want their submission to be\r\nmessed by evil roommates.\r\n\r\nIf in the future we want a \"real\" logout functionality, we have to\r\nswitch to a session-aware authentication protocol.\r\n\r\n**This is also related to Issue #76.\r\nlink: https://github.com/RCOS-Grading-Server/HWserver/issues/76"},"comment":{"url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/issues/comments/97936268","html_url":"https://github.com/RCOS-Grading-Server/HWserver/pull/85#issuecomment-97936268","issue_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/issues/85","id":97936268,"user":{"login":"V1ct0r-SLiNv-Zhu","id":6207334,"avatar_url":"https://avatars.githubusercontent.com/u/6207334?v=3","gravatar_id":"","url":"https://api.github.com/users/V1ct0r-SLiNv-Zhu","html_url":"https://github.com/V1ct0r-SLiNv-Zhu","followers_url":"https://api.github.com/users/V1ct0r-SLiNv-Zhu/followers","following_url":"https://api.github.com/users/V1ct0r-SLiNv-Zhu/following{/other_user}","gists_url":"https://api.github.com/users/V1ct0r-SLiNv-Zhu/gists{/gist_id}","starred_url":"https://api.github.com/users/V1ct0r-SLiNv-Zhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/V1ct0r-SLiNv-Zhu/subscriptions","organizations_url":"https://api.github.com/users/V1ct0r-SLiNv-Zhu/orgs","repos_url":"https://api.github.com/users/V1ct0r-SLiNv-Zhu/repos","events_url":"https://api.github.com/users/V1ct0r-SLiNv-Zhu/events{/privacy}","received_events_url":"https://api.github.com/users/V1ct0r-SLiNv-Zhu/received_events","type":"User","site_admin":false},"created_at":"2015-04-30T19:26:00Z","updated_at":"2015-04-30T19:26:00Z","body":"@MasterOdin After testing with IE 11, Chrome, Firefox on Win7 + Win8, it works for Chrome and Firefox but not IE 11. \r\nProblem with IE: If you log in, then try logging out. It works if you try to go back or revisit http://hwserver/?course=csci1200 for the first time; by canceling the dialog login box and refresh or visit the home page again, you're back to logged in status.\r\n\r\nOn the other hand, it's called \"pseudo\" anyways, but it is a fairly good temporary way to do it. Thanks for point this out~"}}