{"action":"opened","issue":{"url":"https://api.github.com/repos/jbertman/ChatTheFlag/issues/1","labels_url":"https://api.github.com/repos/jbertman/ChatTheFlag/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/jbertman/ChatTheFlag/issues/1/comments","events_url":"https://api.github.com/repos/jbertman/ChatTheFlag/issues/1/events","html_url":"https://github.com/jbertman/ChatTheFlag/issues/1","id":69911981,"number":1,"title":"Duplicate users allowed","user":{"login":"jbertman","id":4664954,"avatar_url":"https://avatars.githubusercontent.com/u/4664954?v=3","gravatar_id":"","url":"https://api.github.com/users/jbertman","html_url":"https://github.com/jbertman","followers_url":"https://api.github.com/users/jbertman/followers","following_url":"https://api.github.com/users/jbertman/following{/other_user}","gists_url":"https://api.github.com/users/jbertman/gists{/gist_id}","starred_url":"https://api.github.com/users/jbertman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbertman/subscriptions","organizations_url":"https://api.github.com/users/jbertman/orgs","repos_url":"https://api.github.com/users/jbertman/repos","events_url":"https://api.github.com/users/jbertman/events{/privacy}","received_events_url":"https://api.github.com/users/jbertman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"jbertman","id":4664954,"avatar_url":"https://avatars.githubusercontent.com/u/4664954?v=3","gravatar_id":"","url":"https://api.github.com/users/jbertman","html_url":"https://github.com/jbertman","followers_url":"https://api.github.com/users/jbertman/followers","following_url":"https://api.github.com/users/jbertman/following{/other_user}","gists_url":"https://api.github.com/users/jbertman/gists{/gist_id}","starred_url":"https://api.github.com/users/jbertman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbertman/subscriptions","organizations_url":"https://api.github.com/users/jbertman/orgs","repos_url":"https://api.github.com/users/jbertman/repos","events_url":"https://api.github.com/users/jbertman/events{/privacy}","received_events_url":"https://api.github.com/users/jbertman/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-04-21T17:57:26Z","updated_at":"2015-04-21T17:57:26Z","closed_at":null,"body":"Any user can pick any name. Since locks are checked by name, duplicate users have the same rights. The following code demonstrates where the check should be made server-side:\r\n\r\n```Python\r\n# Read the login name\r\ncname = receive(client).split('NAME: ')[1]\r\nfor s, val in self.clientmap.iteritems():\r\n    if cname in [str(i) for i in val]: # Have to convert each one to prevent a __getstate__ error\r\n        continue # Abort the connection here! Not sure how...\r\n```"}}