{"action":"closed","number":5,"pull_request":{"url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/pulls/5","id":63606684,"html_url":"https://github.com/OlafVanSchlacht/yggdrasil-online/pull/5","diff_url":"https://github.com/OlafVanSchlacht/yggdrasil-online/pull/5.diff","patch_url":"https://github.com/OlafVanSchlacht/yggdrasil-online/pull/5.patch","issue_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/issues/5","number":5,"state":"closed","locked":false,"title":"Added login functionality","user":{"login":"OlafVanSchlacht","id":7241059,"avatar_url":"https://avatars.githubusercontent.com/u/7241059?v=3","gravatar_id":"","url":"https://api.github.com/users/OlafVanSchlacht","html_url":"https://github.com/OlafVanSchlacht","followers_url":"https://api.github.com/users/OlafVanSchlacht/followers","following_url":"https://api.github.com/users/OlafVanSchlacht/following{/other_user}","gists_url":"https://api.github.com/users/OlafVanSchlacht/gists{/gist_id}","starred_url":"https://api.github.com/users/OlafVanSchlacht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OlafVanSchlacht/subscriptions","organizations_url":"https://api.github.com/users/OlafVanSchlacht/orgs","repos_url":"https://api.github.com/users/OlafVanSchlacht/repos","events_url":"https://api.github.com/users/OlafVanSchlacht/events{/privacy}","received_events_url":"https://api.github.com/users/OlafVanSchlacht/received_events","type":"User","site_admin":false},"body":"Added the login functionality using mozilla \"client-sessions\" as middleware. Also implements csrf protection via \"cusrf\" middleware.\r\n\r\nIn order to use the login functionality it has been isolated into an own controller file.\r\nFor a better structuring of the application the routes have been merged into one under \"routes/index.js\".\r\n\r\nAlso added a custom middleware which creates the csrf tokens for each request.","created_at":"2016-03-21T18:03:23Z","updated_at":"2016-03-21T19:11:35Z","closed_at":"2016-03-21T19:11:35Z","merged_at":"2016-03-21T19:11:35Z","merge_commit_sha":"071dbe00235e6be61630466ecb4ac69148aff45c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/pulls/5/commits","review_comments_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/pulls/5/comments","review_comment_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/issues/5/comments","statuses_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/statuses/386a91b4773a4bacb693c1b80a9262c3e79cda82","head":{"label":"OlafVanSchlacht:jbi/feat/login-service","ref":"jbi/feat/login-service","sha":"386a91b4773a4bacb693c1b80a9262c3e79cda82","user":{"login":"OlafVanSchlacht","id":7241059,"avatar_url":"https://avatars.githubusercontent.com/u/7241059?v=3","gravatar_id":"","url":"https://api.github.com/users/OlafVanSchlacht","html_url":"https://github.com/OlafVanSchlacht","followers_url":"https://api.github.com/users/OlafVanSchlacht/followers","following_url":"https://api.github.com/users/OlafVanSchlacht/following{/other_user}","gists_url":"https://api.github.com/users/OlafVanSchlacht/gists{/gist_id}","starred_url":"https://api.github.com/users/OlafVanSchlacht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OlafVanSchlacht/subscriptions","organizations_url":"https://api.github.com/users/OlafVanSchlacht/orgs","repos_url":"https://api.github.com/users/OlafVanSchlacht/repos","events_url":"https://api.github.com/users/OlafVanSchlacht/events{/privacy}","received_events_url":"https://api.github.com/users/OlafVanSchlacht/received_events","type":"User","site_admin":false},"repo":{"id":54149210,"name":"yggdrasil-online","full_name":"OlafVanSchlacht/yggdrasil-online","owner":{"login":"OlafVanSchlacht","id":7241059,"avatar_url":"https://avatars.githubusercontent.com/u/7241059?v=3","gravatar_id":"","url":"https://api.github.com/users/OlafVanSchlacht","html_url":"https://github.com/OlafVanSchlacht","followers_url":"https://api.github.com/users/OlafVanSchlacht/followers","following_url":"https://api.github.com/users/OlafVanSchlacht/following{/other_user}","gists_url":"https://api.github.com/users/OlafVanSchlacht/gists{/gist_id}","starred_url":"https://api.github.com/users/OlafVanSchlacht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OlafVanSchlacht/subscriptions","organizations_url":"https://api.github.com/users/OlafVanSchlacht/orgs","repos_url":"https://api.github.com/users/OlafVanSchlacht/repos","events_url":"https://api.github.com/users/OlafVanSchlacht/events{/privacy}","received_events_url":"https://api.github.com/users/OlafVanSchlacht/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/OlafVanSchlacht/yggdrasil-online","description":"Textbased Browser Game","fork":false,"url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online","forks_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/forks","keys_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/teams","hooks_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/hooks","issue_events_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/issues/events{/number}","events_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/events","assignees_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/assignees{/user}","branches_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/branches{/branch}","tags_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/tags","blobs_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/git/refs{/sha}","trees_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/statuses/{sha}","languages_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/languages","stargazers_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/stargazers","contributors_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/contributors","subscribers_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/subscribers","subscription_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/subscription","commits_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/commits{/sha}","git_commits_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/git/commits{/sha}","comments_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/comments{/number}","issue_comment_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/issues/comments{/number}","contents_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/contents/{+path}","compare_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/merges","archive_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/downloads","issues_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/issues{/number}","pulls_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/pulls{/number}","milestones_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/milestones{/number}","notifications_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/labels{/name}","releases_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/releases{/id}","deployments_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/deployments","created_at":"2016-03-17T20:28:20Z","updated_at":"2016-03-17T20:34:13Z","pushed_at":"2016-03-21T19:11:35Z","git_url":"git://github.com/OlafVanSchlacht/yggdrasil-online.git","ssh_url":"git@github.com:OlafVanSchlacht/yggdrasil-online.git","clone_url":"https://github.com/OlafVanSchlacht/yggdrasil-online.git","svn_url":"https://github.com/OlafVanSchlacht/yggdrasil-online","homepage":null,"size":66,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"OlafVanSchlacht:development","ref":"development","sha":"1243020bd5d7bf615b970e4b0373a76ef5ee8173","user":{"login":"OlafVanSchlacht","id":7241059,"avatar_url":"https://avatars.githubusercontent.com/u/7241059?v=3","gravatar_id":"","url":"https://api.github.com/users/OlafVanSchlacht","html_url":"https://github.com/OlafVanSchlacht","followers_url":"https://api.github.com/users/OlafVanSchlacht/followers","following_url":"https://api.github.com/users/OlafVanSchlacht/following{/other_user}","gists_url":"https://api.github.com/users/OlafVanSchlacht/gists{/gist_id}","starred_url":"https://api.github.com/users/OlafVanSchlacht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OlafVanSchlacht/subscriptions","organizations_url":"https://api.github.com/users/OlafVanSchlacht/orgs","repos_url":"https://api.github.com/users/OlafVanSchlacht/repos","events_url":"https://api.github.com/users/OlafVanSchlacht/events{/privacy}","received_events_url":"https://api.github.com/users/OlafVanSchlacht/received_events","type":"User","site_admin":false},"repo":{"id":54149210,"name":"yggdrasil-online","full_name":"OlafVanSchlacht/yggdrasil-online","owner":{"login":"OlafVanSchlacht","id":7241059,"avatar_url":"https://avatars.githubusercontent.com/u/7241059?v=3","gravatar_id":"","url":"https://api.github.com/users/OlafVanSchlacht","html_url":"https://github.com/OlafVanSchlacht","followers_url":"https://api.github.com/users/OlafVanSchlacht/followers","following_url":"https://api.github.com/users/OlafVanSchlacht/following{/other_user}","gists_url":"https://api.github.com/users/OlafVanSchlacht/gists{/gist_id}","starred_url":"https://api.github.com/users/OlafVanSchlacht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OlafVanSchlacht/subscriptions","organizations_url":"https://api.github.com/users/OlafVanSchlacht/orgs","repos_url":"https://api.github.com/users/OlafVanSchlacht/repos","events_url":"https://api.github.com/users/OlafVanSchlacht/events{/privacy}","received_events_url":"https://api.github.com/users/OlafVanSchlacht/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/OlafVanSchlacht/yggdrasil-online","description":"Textbased Browser Game","fork":false,"url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online","forks_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/forks","keys_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/teams","hooks_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/hooks","issue_events_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/issues/events{/number}","events_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/events","assignees_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/assignees{/user}","branches_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/branches{/branch}","tags_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/tags","blobs_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/git/refs{/sha}","trees_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/statuses/{sha}","languages_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/languages","stargazers_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/stargazers","contributors_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/contributors","subscribers_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/subscribers","subscription_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/subscription","commits_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/commits{/sha}","git_commits_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/git/commits{/sha}","comments_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/comments{/number}","issue_comment_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/issues/comments{/number}","contents_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/contents/{+path}","compare_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/merges","archive_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/downloads","issues_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/issues{/number}","pulls_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/pulls{/number}","milestones_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/milestones{/number}","notifications_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/labels{/name}","releases_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/releases{/id}","deployments_url":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/deployments","created_at":"2016-03-17T20:28:20Z","updated_at":"2016-03-17T20:34:13Z","pushed_at":"2016-03-21T19:11:35Z","git_url":"git://github.com/OlafVanSchlacht/yggdrasil-online.git","ssh_url":"git@github.com:OlafVanSchlacht/yggdrasil-online.git","clone_url":"https://github.com/OlafVanSchlacht/yggdrasil-online.git","svn_url":"https://github.com/OlafVanSchlacht/yggdrasil-online","homepage":null,"size":66,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/pulls/5"},"html":{"href":"https://github.com/OlafVanSchlacht/yggdrasil-online/pull/5"},"issue":{"href":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/issues/5"},"comments":{"href":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/OlafVanSchlacht/yggdrasil-online/statuses/386a91b4773a4bacb693c1b80a9262c3e79cda82"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"OlafVanSchlacht","id":7241059,"avatar_url":"https://avatars.githubusercontent.com/u/7241059?v=3","gravatar_id":"","url":"https://api.github.com/users/OlafVanSchlacht","html_url":"https://github.com/OlafVanSchlacht","followers_url":"https://api.github.com/users/OlafVanSchlacht/followers","following_url":"https://api.github.com/users/OlafVanSchlacht/following{/other_user}","gists_url":"https://api.github.com/users/OlafVanSchlacht/gists{/gist_id}","starred_url":"https://api.github.com/users/OlafVanSchlacht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OlafVanSchlacht/subscriptions","organizations_url":"https://api.github.com/users/OlafVanSchlacht/orgs","repos_url":"https://api.github.com/users/OlafVanSchlacht/repos","events_url":"https://api.github.com/users/OlafVanSchlacht/events{/privacy}","received_events_url":"https://api.github.com/users/OlafVanSchlacht/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":6,"additions":179,"deletions":48,"changed_files":13}}