{"action":"created","comment":{"url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/pulls/comments/56087338","id":56087338,"diff_hunk":"@@ -57,4 +71,24 @@ export function login(creds) {\n         console.log('Login!', err); // eslint-disable-line\n       });\n   };\n-}\n\\ No newline at end of file\n+}\n+\n+export function changePassword(creds) {\n+  var player = storeUtil.getPlayer(creds.playerId);\n+  var playerName = player ? player.alias : 'John Doe';\n+\n+  return dispatch => {\n+    return http.post('/users/ChangePassword', creds)\n+      .then(function(data) {\n+        if (!data) {\n+          dispatch(passwordChangedFailed(playerName));\n+        } else {\n+          dispatch(passwordChanged(playerName));\n+          dispatch(initialLoad());","path":"src/actions/userActions.js","position":40,"original_position":40,"commit_id":"abd6ff2ad02a5f6d92d5646c70118799a39f4022","original_commit_id":"abd6ff2ad02a5f6d92d5646c70118799a39f4022","user":{"login":"Laoujin","id":2582910,"avatar_url":"https://avatars.githubusercontent.com/u/2582910?v=3","gravatar_id":"","url":"https://api.github.com/users/Laoujin","html_url":"https://github.com/Laoujin","followers_url":"https://api.github.com/users/Laoujin/followers","following_url":"https://api.github.com/users/Laoujin/following{/other_user}","gists_url":"https://api.github.com/users/Laoujin/gists{/gist_id}","starred_url":"https://api.github.com/users/Laoujin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Laoujin/subscriptions","organizations_url":"https://api.github.com/users/Laoujin/orgs","repos_url":"https://api.github.com/users/Laoujin/repos","events_url":"https://api.github.com/users/Laoujin/events{/privacy}","received_events_url":"https://api.github.com/users/Laoujin/received_events","type":"User","site_admin":false},"body":"bij het inloggen wordt de initialLoad opnieuw gedaan om zo de Spelers.ContactDetails en de Matchen.Opstelling ook beschikbaar te hebben. \r\nVoor andere acties (zoals deze changePassword) is dat niet nodig..","created_at":"2016-03-14T22:28:00Z","updated_at":"2016-03-14T22:28:00Z","html_url":"https://github.com/TTCErembodegem/TTC-React-Front/pull/32#discussion_r56087338","pull_request_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/pulls/32","_links":{"self":{"href":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/pulls/comments/56087338"},"html":{"href":"https://github.com/TTCErembodegem/TTC-React-Front/pull/32#discussion_r56087338"},"pull_request":{"href":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/pulls/32"}}},"pull_request":{"url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/pulls/32","id":62827618,"html_url":"https://github.com/TTCErembodegem/TTC-React-Front/pull/32","diff_url":"https://github.com/TTCErembodegem/TTC-React-Front/pull/32.diff","patch_url":"https://github.com/TTCErembodegem/TTC-React-Front/pull/32.patch","issue_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/issues/32","number":32,"state":"open","locked":false,"title":"Add new page to change the password + functionality (1st version)","user":{"login":"Laoujin","id":2582910,"avatar_url":"https://avatars.githubusercontent.com/u/2582910?v=3","gravatar_id":"","url":"https://api.github.com/users/Laoujin","html_url":"https://github.com/Laoujin","followers_url":"https://api.github.com/users/Laoujin/followers","following_url":"https://api.github.com/users/Laoujin/following{/other_user}","gists_url":"https://api.github.com/users/Laoujin/gists{/gist_id}","starred_url":"https://api.github.com/users/Laoujin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Laoujin/subscriptions","organizations_url":"https://api.github.com/users/Laoujin/orgs","repos_url":"https://api.github.com/users/Laoujin/repos","events_url":"https://api.github.com/users/Laoujin/events{/privacy}","received_events_url":"https://api.github.com/users/Laoujin/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-14T22:27:00Z","updated_at":"2016-03-14T22:28:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7af92f9175f3ba0848a922c7b0917ac6c03ce322","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/pulls/32/commits","review_comments_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/pulls/32/comments","review_comment_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/issues/32/comments","statuses_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/statuses/abd6ff2ad02a5f6d92d5646c70118799a39f4022","head":{"label":"TTCErembodegem:Jorn","ref":"Jorn","sha":"abd6ff2ad02a5f6d92d5646c70118799a39f4022","user":{"login":"TTCErembodegem","id":10796424,"avatar_url":"https://avatars.githubusercontent.com/u/10796424?v=3","gravatar_id":"","url":"https://api.github.com/users/TTCErembodegem","html_url":"https://github.com/TTCErembodegem","followers_url":"https://api.github.com/users/TTCErembodegem/followers","following_url":"https://api.github.com/users/TTCErembodegem/following{/other_user}","gists_url":"https://api.github.com/users/TTCErembodegem/gists{/gist_id}","starred_url":"https://api.github.com/users/TTCErembodegem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TTCErembodegem/subscriptions","organizations_url":"https://api.github.com/users/TTCErembodegem/orgs","repos_url":"https://api.github.com/users/TTCErembodegem/repos","events_url":"https://api.github.com/users/TTCErembodegem/events{/privacy}","received_events_url":"https://api.github.com/users/TTCErembodegem/received_events","type":"Organization","site_admin":false},"repo":{"id":47137350,"name":"TTC-React-Front","full_name":"TTCErembodegem/TTC-React-Front","owner":{"login":"TTCErembodegem","id":10796424,"avatar_url":"https://avatars.githubusercontent.com/u/10796424?v=3","gravatar_id":"","url":"https://api.github.com/users/TTCErembodegem","html_url":"https://github.com/TTCErembodegem","followers_url":"https://api.github.com/users/TTCErembodegem/followers","following_url":"https://api.github.com/users/TTCErembodegem/following{/other_user}","gists_url":"https://api.github.com/users/TTCErembodegem/gists{/gist_id}","starred_url":"https://api.github.com/users/TTCErembodegem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TTCErembodegem/subscriptions","organizations_url":"https://api.github.com/users/TTCErembodegem/orgs","repos_url":"https://api.github.com/users/TTCErembodegem/repos","events_url":"https://api.github.com/users/TTCErembodegem/events{/privacy}","received_events_url":"https://api.github.com/users/TTCErembodegem/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TTCErembodegem/TTC-React-Front","description":"Gulp! It's the materialization of the React-Redux-Hotloaded-Webpacked-Expressly-Bootstrapped-and-Babelified-brand-new front end for the new website","fork":false,"url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front","forks_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/forks","keys_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/teams","hooks_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/hooks","issue_events_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/issues/events{/number}","events_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/events","assignees_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/assignees{/user}","branches_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/branches{/branch}","tags_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/tags","blobs_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/git/refs{/sha}","trees_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/statuses/{sha}","languages_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/languages","stargazers_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/stargazers","contributors_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/contributors","subscribers_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/subscribers","subscription_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/subscription","commits_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/commits{/sha}","git_commits_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/git/commits{/sha}","comments_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/comments{/number}","issue_comment_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/issues/comments{/number}","contents_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/contents/{+path}","compare_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/merges","archive_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/downloads","issues_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/issues{/number}","pulls_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/pulls{/number}","milestones_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/milestones{/number}","notifications_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/labels{/name}","releases_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/releases{/id}","deployments_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/deployments","created_at":"2015-11-30T18:21:15Z","updated_at":"2016-02-14T22:49:11Z","pushed_at":"2016-03-14T22:27:00Z","git_url":"git://github.com/TTCErembodegem/TTC-React-Front.git","ssh_url":"git@github.com:TTCErembodegem/TTC-React-Front.git","clone_url":"https://github.com/TTCErembodegem/TTC-React-Front.git","svn_url":"https://github.com/TTCErembodegem/TTC-React-Front","homepage":"","size":1712,"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":12,"forks":0,"open_issues":12,"watchers":0,"default_branch":"master"}},"base":{"label":"TTCErembodegem:master","ref":"master","sha":"4b1173facc49c98916e62a768ac4994247ff5044","user":{"login":"TTCErembodegem","id":10796424,"avatar_url":"https://avatars.githubusercontent.com/u/10796424?v=3","gravatar_id":"","url":"https://api.github.com/users/TTCErembodegem","html_url":"https://github.com/TTCErembodegem","followers_url":"https://api.github.com/users/TTCErembodegem/followers","following_url":"https://api.github.com/users/TTCErembodegem/following{/other_user}","gists_url":"https://api.github.com/users/TTCErembodegem/gists{/gist_id}","starred_url":"https://api.github.com/users/TTCErembodegem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TTCErembodegem/subscriptions","organizations_url":"https://api.github.com/users/TTCErembodegem/orgs","repos_url":"https://api.github.com/users/TTCErembodegem/repos","events_url":"https://api.github.com/users/TTCErembodegem/events{/privacy}","received_events_url":"https://api.github.com/users/TTCErembodegem/received_events","type":"Organization","site_admin":false},"repo":{"id":47137350,"name":"TTC-React-Front","full_name":"TTCErembodegem/TTC-React-Front","owner":{"login":"TTCErembodegem","id":10796424,"avatar_url":"https://avatars.githubusercontent.com/u/10796424?v=3","gravatar_id":"","url":"https://api.github.com/users/TTCErembodegem","html_url":"https://github.com/TTCErembodegem","followers_url":"https://api.github.com/users/TTCErembodegem/followers","following_url":"https://api.github.com/users/TTCErembodegem/following{/other_user}","gists_url":"https://api.github.com/users/TTCErembodegem/gists{/gist_id}","starred_url":"https://api.github.com/users/TTCErembodegem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TTCErembodegem/subscriptions","organizations_url":"https://api.github.com/users/TTCErembodegem/orgs","repos_url":"https://api.github.com/users/TTCErembodegem/repos","events_url":"https://api.github.com/users/TTCErembodegem/events{/privacy}","received_events_url":"https://api.github.com/users/TTCErembodegem/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TTCErembodegem/TTC-React-Front","description":"Gulp! It's the materialization of the React-Redux-Hotloaded-Webpacked-Expressly-Bootstrapped-and-Babelified-brand-new front end for the new website","fork":false,"url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front","forks_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/forks","keys_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/teams","hooks_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/hooks","issue_events_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/issues/events{/number}","events_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/events","assignees_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/assignees{/user}","branches_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/branches{/branch}","tags_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/tags","blobs_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/git/refs{/sha}","trees_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/statuses/{sha}","languages_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/languages","stargazers_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/stargazers","contributors_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/contributors","subscribers_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/subscribers","subscription_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/subscription","commits_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/commits{/sha}","git_commits_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/git/commits{/sha}","comments_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/comments{/number}","issue_comment_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/issues/comments{/number}","contents_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/contents/{+path}","compare_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/merges","archive_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/downloads","issues_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/issues{/number}","pulls_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/pulls{/number}","milestones_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/milestones{/number}","notifications_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/labels{/name}","releases_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/releases{/id}","deployments_url":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/deployments","created_at":"2015-11-30T18:21:15Z","updated_at":"2016-02-14T22:49:11Z","pushed_at":"2016-03-14T22:27:00Z","git_url":"git://github.com/TTCErembodegem/TTC-React-Front.git","ssh_url":"git@github.com:TTCErembodegem/TTC-React-Front.git","clone_url":"https://github.com/TTCErembodegem/TTC-React-Front.git","svn_url":"https://github.com/TTCErembodegem/TTC-React-Front","homepage":"","size":1712,"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":12,"forks":0,"open_issues":12,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/pulls/32"},"html":{"href":"https://github.com/TTCErembodegem/TTC-React-Front/pull/32"},"issue":{"href":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/issues/32"},"comments":{"href":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/TTCErembodegem/TTC-React-Front/statuses/abd6ff2ad02a5f6d92d5646c70118799a39f4022"}}}}