{"action":"created","comment":{"url":"https://api.github.com/repos/ornicar/lila/pulls/comments/44759029","id":44759029,"diff_hunk":"@@ -10,12 +10,14 @@ <h1 class=\"lichess_title\">Security</h1>\n       This is a list of devices that have logged into your account.\n       Revoke any sessions that you do not recognize.\n     </p>\n+    @if(sessions.length < 2){","path":"app/views/account/security.scala.html","position":4,"original_position":4,"commit_id":"f964b379db92c9770476b3256f5c2f25afe7002e","original_commit_id":"f964b379db92c9770476b3256f5c2f25afe7002e","user":{"login":"ornicar","id":140370,"avatar_url":"https://avatars.githubusercontent.com/u/140370?v=3","gravatar_id":"","url":"https://api.github.com/users/ornicar","html_url":"https://github.com/ornicar","followers_url":"https://api.github.com/users/ornicar/followers","following_url":"https://api.github.com/users/ornicar/following{/other_user}","gists_url":"https://api.github.com/users/ornicar/gists{/gist_id}","starred_url":"https://api.github.com/users/ornicar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ornicar/subscriptions","organizations_url":"https://api.github.com/users/ornicar/orgs","repos_url":"https://api.github.com/users/ornicar/repos","events_url":"https://api.github.com/users/ornicar/events{/privacy}","received_events_url":"https://api.github.com/users/ornicar/received_events","type":"User","site_admin":false},"body":"the opposite, maybe?","created_at":"2015-11-13T08:25:12Z","updated_at":"2015-11-13T08:25:12Z","html_url":"https://github.com/ornicar/lila/pull/1229#discussion_r44759029","pull_request_url":"https://api.github.com/repos/ornicar/lila/pulls/1229","_links":{"self":{"href":"https://api.github.com/repos/ornicar/lila/pulls/comments/44759029"},"html":{"href":"https://github.com/ornicar/lila/pull/1229#discussion_r44759029"},"pull_request":{"href":"https://api.github.com/repos/ornicar/lila/pulls/1229"}}},"pull_request":{"url":"https://api.github.com/repos/ornicar/lila/pulls/1229","id":50609852,"html_url":"https://github.com/ornicar/lila/pull/1229","diff_url":"https://github.com/ornicar/lila/pull/1229.diff","patch_url":"https://github.com/ornicar/lila/pull/1229.patch","issue_url":"https://api.github.com/repos/ornicar/lila/issues/1229","number":1229,"state":"open","locked":false,"title":"Hide \"revoke all sessions\" button after a use; adds icon","user":{"login":"Unihedro","id":5595067,"avatar_url":"https://avatars.githubusercontent.com/u/5595067?v=3","gravatar_id":"","url":"https://api.github.com/users/Unihedro","html_url":"https://github.com/Unihedro","followers_url":"https://api.github.com/users/Unihedro/followers","following_url":"https://api.github.com/users/Unihedro/following{/other_user}","gists_url":"https://api.github.com/users/Unihedro/gists{/gist_id}","starred_url":"https://api.github.com/users/Unihedro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Unihedro/subscriptions","organizations_url":"https://api.github.com/users/Unihedro/orgs","repos_url":"https://api.github.com/users/Unihedro/repos","events_url":"https://api.github.com/users/Unihedro/events{/privacy}","received_events_url":"https://api.github.com/users/Unihedro/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-13T06:50:37Z","updated_at":"2015-11-13T08:25:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6820940d9d9a1f76914366b3980da66e1f3f2e8f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ornicar/lila/pulls/1229/commits","review_comments_url":"https://api.github.com/repos/ornicar/lila/pulls/1229/comments","review_comment_url":"https://api.github.com/repos/ornicar/lila/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ornicar/lila/issues/1229/comments","statuses_url":"https://api.github.com/repos/ornicar/lila/statuses/f964b379db92c9770476b3256f5c2f25afe7002e","head":{"label":"ornicar:revoke-all-refine","ref":"revoke-all-refine","sha":"f964b379db92c9770476b3256f5c2f25afe7002e","user":{"login":"ornicar","id":140370,"avatar_url":"https://avatars.githubusercontent.com/u/140370?v=3","gravatar_id":"","url":"https://api.github.com/users/ornicar","html_url":"https://github.com/ornicar","followers_url":"https://api.github.com/users/ornicar/followers","following_url":"https://api.github.com/users/ornicar/following{/other_user}","gists_url":"https://api.github.com/users/ornicar/gists{/gist_id}","starred_url":"https://api.github.com/users/ornicar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ornicar/subscriptions","organizations_url":"https://api.github.com/users/ornicar/orgs","repos_url":"https://api.github.com/users/ornicar/repos","events_url":"https://api.github.com/users/ornicar/events{/privacy}","received_events_url":"https://api.github.com/users/ornicar/received_events","type":"User","site_admin":false},"repo":{"id":3507455,"name":"lila","full_name":"ornicar/lila","owner":{"login":"ornicar","id":140370,"avatar_url":"https://avatars.githubusercontent.com/u/140370?v=3","gravatar_id":"","url":"https://api.github.com/users/ornicar","html_url":"https://github.com/ornicar","followers_url":"https://api.github.com/users/ornicar/followers","following_url":"https://api.github.com/users/ornicar/following{/other_user}","gists_url":"https://api.github.com/users/ornicar/gists{/gist_id}","starred_url":"https://api.github.com/users/ornicar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ornicar/subscriptions","organizations_url":"https://api.github.com/users/ornicar/orgs","repos_url":"https://api.github.com/users/ornicar/repos","events_url":"https://api.github.com/users/ornicar/events{/privacy}","received_events_url":"https://api.github.com/users/ornicar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ornicar/lila","description":"The forever free, adless and open source chess server.","fork":false,"url":"https://api.github.com/repos/ornicar/lila","forks_url":"https://api.github.com/repos/ornicar/lila/forks","keys_url":"https://api.github.com/repos/ornicar/lila/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ornicar/lila/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ornicar/lila/teams","hooks_url":"https://api.github.com/repos/ornicar/lila/hooks","issue_events_url":"https://api.github.com/repos/ornicar/lila/issues/events{/number}","events_url":"https://api.github.com/repos/ornicar/lila/events","assignees_url":"https://api.github.com/repos/ornicar/lila/assignees{/user}","branches_url":"https://api.github.com/repos/ornicar/lila/branches{/branch}","tags_url":"https://api.github.com/repos/ornicar/lila/tags","blobs_url":"https://api.github.com/repos/ornicar/lila/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ornicar/lila/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ornicar/lila/git/refs{/sha}","trees_url":"https://api.github.com/repos/ornicar/lila/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ornicar/lila/statuses/{sha}","languages_url":"https://api.github.com/repos/ornicar/lila/languages","stargazers_url":"https://api.github.com/repos/ornicar/lila/stargazers","contributors_url":"https://api.github.com/repos/ornicar/lila/contributors","subscribers_url":"https://api.github.com/repos/ornicar/lila/subscribers","subscription_url":"https://api.github.com/repos/ornicar/lila/subscription","commits_url":"https://api.github.com/repos/ornicar/lila/commits{/sha}","git_commits_url":"https://api.github.com/repos/ornicar/lila/git/commits{/sha}","comments_url":"https://api.github.com/repos/ornicar/lila/comments{/number}","issue_comment_url":"https://api.github.com/repos/ornicar/lila/issues/comments{/number}","contents_url":"https://api.github.com/repos/ornicar/lila/contents/{+path}","compare_url":"https://api.github.com/repos/ornicar/lila/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ornicar/lila/merges","archive_url":"https://api.github.com/repos/ornicar/lila/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ornicar/lila/downloads","issues_url":"https://api.github.com/repos/ornicar/lila/issues{/number}","pulls_url":"https://api.github.com/repos/ornicar/lila/pulls{/number}","milestones_url":"https://api.github.com/repos/ornicar/lila/milestones{/number}","notifications_url":"https://api.github.com/repos/ornicar/lila/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ornicar/lila/labels{/name}","releases_url":"https://api.github.com/repos/ornicar/lila/releases{/id}","created_at":"2012-02-21T19:46:55Z","updated_at":"2015-11-13T03:16:14Z","pushed_at":"2015-11-13T06:50:38Z","git_url":"git://github.com/ornicar/lila.git","ssh_url":"git@github.com:ornicar/lila.git","clone_url":"https://github.com/ornicar/lila.git","svn_url":"https://github.com/ornicar/lila","homepage":"http://lichess.org","size":99899,"stargazers_count":1568,"watchers_count":1568,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":281,"mirror_url":null,"open_issues_count":228,"forks":281,"open_issues":228,"watchers":1568,"default_branch":"master"}},"base":{"label":"ornicar:master","ref":"master","sha":"41ead730f53629a4358bfe6fc2f95273dd0999f9","user":{"login":"ornicar","id":140370,"avatar_url":"https://avatars.githubusercontent.com/u/140370?v=3","gravatar_id":"","url":"https://api.github.com/users/ornicar","html_url":"https://github.com/ornicar","followers_url":"https://api.github.com/users/ornicar/followers","following_url":"https://api.github.com/users/ornicar/following{/other_user}","gists_url":"https://api.github.com/users/ornicar/gists{/gist_id}","starred_url":"https://api.github.com/users/ornicar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ornicar/subscriptions","organizations_url":"https://api.github.com/users/ornicar/orgs","repos_url":"https://api.github.com/users/ornicar/repos","events_url":"https://api.github.com/users/ornicar/events{/privacy}","received_events_url":"https://api.github.com/users/ornicar/received_events","type":"User","site_admin":false},"repo":{"id":3507455,"name":"lila","full_name":"ornicar/lila","owner":{"login":"ornicar","id":140370,"avatar_url":"https://avatars.githubusercontent.com/u/140370?v=3","gravatar_id":"","url":"https://api.github.com/users/ornicar","html_url":"https://github.com/ornicar","followers_url":"https://api.github.com/users/ornicar/followers","following_url":"https://api.github.com/users/ornicar/following{/other_user}","gists_url":"https://api.github.com/users/ornicar/gists{/gist_id}","starred_url":"https://api.github.com/users/ornicar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ornicar/subscriptions","organizations_url":"https://api.github.com/users/ornicar/orgs","repos_url":"https://api.github.com/users/ornicar/repos","events_url":"https://api.github.com/users/ornicar/events{/privacy}","received_events_url":"https://api.github.com/users/ornicar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ornicar/lila","description":"The forever free, adless and open source chess server.","fork":false,"url":"https://api.github.com/repos/ornicar/lila","forks_url":"https://api.github.com/repos/ornicar/lila/forks","keys_url":"https://api.github.com/repos/ornicar/lila/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ornicar/lila/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ornicar/lila/teams","hooks_url":"https://api.github.com/repos/ornicar/lila/hooks","issue_events_url":"https://api.github.com/repos/ornicar/lila/issues/events{/number}","events_url":"https://api.github.com/repos/ornicar/lila/events","assignees_url":"https://api.github.com/repos/ornicar/lila/assignees{/user}","branches_url":"https://api.github.com/repos/ornicar/lila/branches{/branch}","tags_url":"https://api.github.com/repos/ornicar/lila/tags","blobs_url":"https://api.github.com/repos/ornicar/lila/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ornicar/lila/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ornicar/lila/git/refs{/sha}","trees_url":"https://api.github.com/repos/ornicar/lila/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ornicar/lila/statuses/{sha}","languages_url":"https://api.github.com/repos/ornicar/lila/languages","stargazers_url":"https://api.github.com/repos/ornicar/lila/stargazers","contributors_url":"https://api.github.com/repos/ornicar/lila/contributors","subscribers_url":"https://api.github.com/repos/ornicar/lila/subscribers","subscription_url":"https://api.github.com/repos/ornicar/lila/subscription","commits_url":"https://api.github.com/repos/ornicar/lila/commits{/sha}","git_commits_url":"https://api.github.com/repos/ornicar/lila/git/commits{/sha}","comments_url":"https://api.github.com/repos/ornicar/lila/comments{/number}","issue_comment_url":"https://api.github.com/repos/ornicar/lila/issues/comments{/number}","contents_url":"https://api.github.com/repos/ornicar/lila/contents/{+path}","compare_url":"https://api.github.com/repos/ornicar/lila/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ornicar/lila/merges","archive_url":"https://api.github.com/repos/ornicar/lila/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ornicar/lila/downloads","issues_url":"https://api.github.com/repos/ornicar/lila/issues{/number}","pulls_url":"https://api.github.com/repos/ornicar/lila/pulls{/number}","milestones_url":"https://api.github.com/repos/ornicar/lila/milestones{/number}","notifications_url":"https://api.github.com/repos/ornicar/lila/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ornicar/lila/labels{/name}","releases_url":"https://api.github.com/repos/ornicar/lila/releases{/id}","created_at":"2012-02-21T19:46:55Z","updated_at":"2015-11-13T03:16:14Z","pushed_at":"2015-11-13T06:50:38Z","git_url":"git://github.com/ornicar/lila.git","ssh_url":"git@github.com:ornicar/lila.git","clone_url":"https://github.com/ornicar/lila.git","svn_url":"https://github.com/ornicar/lila","homepage":"http://lichess.org","size":99899,"stargazers_count":1568,"watchers_count":1568,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":281,"mirror_url":null,"open_issues_count":228,"forks":281,"open_issues":228,"watchers":1568,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ornicar/lila/pulls/1229"},"html":{"href":"https://github.com/ornicar/lila/pull/1229"},"issue":{"href":"https://api.github.com/repos/ornicar/lila/issues/1229"},"comments":{"href":"https://api.github.com/repos/ornicar/lila/issues/1229/comments"},"review_comments":{"href":"https://api.github.com/repos/ornicar/lila/pulls/1229/comments"},"review_comment":{"href":"https://api.github.com/repos/ornicar/lila/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ornicar/lila/pulls/1229/commits"},"statuses":{"href":"https://api.github.com/repos/ornicar/lila/statuses/f964b379db92c9770476b3256f5c2f25afe7002e"}}}}