{"action":"created","comment":{"url":"https://api.github.com/repos/parse-community/parse-server/pulls/comments/116814444","pull_request_review_id":38466017,"id":116814444,"diff_hunk":"@@ -2935,4 +2935,21 @@ describe('Parse.User testing', () => {\n       done();\n     });\n   });\n+\n+  it('should revoke sessions when setting paswword with masterKey (#3289)', (done) => {\n+    let user;\n+    Parse.User.signUp('username', 'password')\n+      .then((newUser) => {\n+        user = newUser;\n+        user.set('password', 'newPassword');\n+        return user.save(null, {useMasterKey: true});\n+      }).then(() => {\n+        const query = new Parse.Query('_Session');\n+        query.equalTo('user', user);\n+        return query.find({useMasterKey: true});\n+      }).then((results) => {\n+        expect(results.length).toBe(0);\n+        done();\n+      }, done.fail);","path":"spec/ParseUser.spec.js","position":19,"original_position":19,"commit_id":"51501c77e39fc5c6dc1f4f42ab4ac72879dc6b78","original_commit_id":"51501c77e39fc5c6dc1f4f42ab4ac72879dc6b78","user":{"login":"flovilmart","id":364568,"avatar_url":"https://avatars0.githubusercontent.com/u/364568?v=3","gravatar_id":"","url":"https://api.github.com/users/flovilmart","html_url":"https://github.com/flovilmart","followers_url":"https://api.github.com/users/flovilmart/followers","following_url":"https://api.github.com/users/flovilmart/following{/other_user}","gists_url":"https://api.github.com/users/flovilmart/gists{/gist_id}","starred_url":"https://api.github.com/users/flovilmart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flovilmart/subscriptions","organizations_url":"https://api.github.com/users/flovilmart/orgs","repos_url":"https://api.github.com/users/flovilmart/repos","events_url":"https://api.github.com/users/flovilmart/events{/privacy}","received_events_url":"https://api.github.com/users/flovilmart/received_events","type":"User","site_admin":false},"body":"@acinader makes sense,  do you want me to update the code for that style? Or we'll do it at a later time?","created_at":"2017-05-16T18:00:53Z","updated_at":"2017-05-16T18:00:53Z","html_url":"https://github.com/parse-community/parse-server/pull/3821#discussion_r116814444","pull_request_url":"https://api.github.com/repos/parse-community/parse-server/pulls/3821","_links":{"self":{"href":"https://api.github.com/repos/parse-community/parse-server/pulls/comments/116814444"},"html":{"href":"https://github.com/parse-community/parse-server/pull/3821#discussion_r116814444"},"pull_request":{"href":"https://api.github.com/repos/parse-community/parse-server/pulls/3821"}}},"pull_request":{"url":"https://api.github.com/repos/parse-community/parse-server/pulls/3821","id":120734475,"html_url":"https://github.com/parse-community/parse-server/pull/3821","diff_url":"https://github.com/parse-community/parse-server/pull/3821.diff","patch_url":"https://github.com/parse-community/parse-server/pull/3821.patch","issue_url":"https://api.github.com/repos/parse-community/parse-server/issues/3821","number":3821,"state":"open","locked":false,"title":"Always clear sessions when user password is updated","user":{"login":"flovilmart","id":364568,"avatar_url":"https://avatars0.githubusercontent.com/u/364568?v=3","gravatar_id":"","url":"https://api.github.com/users/flovilmart","html_url":"https://github.com/flovilmart","followers_url":"https://api.github.com/users/flovilmart/followers","following_url":"https://api.github.com/users/flovilmart/following{/other_user}","gists_url":"https://api.github.com/users/flovilmart/gists{/gist_id}","starred_url":"https://api.github.com/users/flovilmart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flovilmart/subscriptions","organizations_url":"https://api.github.com/users/flovilmart/orgs","repos_url":"https://api.github.com/users/flovilmart/repos","events_url":"https://api.github.com/users/flovilmart/events{/privacy}","received_events_url":"https://api.github.com/users/flovilmart/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-05-16T02:49:30Z","updated_at":"2017-05-16T18:00:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"df019bd8f48004aee8f27dc4bf2b6ee31ddf8273","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/parse-community/parse-server/pulls/3821/commits","review_comments_url":"https://api.github.com/repos/parse-community/parse-server/pulls/3821/comments","review_comment_url":"https://api.github.com/repos/parse-community/parse-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/parse-community/parse-server/issues/3821/comments","statuses_url":"https://api.github.com/repos/parse-community/parse-server/statuses/51501c77e39fc5c6dc1f4f42ab4ac72879dc6b78","head":{"label":"parse-community:issue/3289","ref":"issue/3289","sha":"51501c77e39fc5c6dc1f4f42ab4ac72879dc6b78","user":{"login":"parse-community","id":26932219,"avatar_url":"https://avatars0.githubusercontent.com/u/26932219?v=3","gravatar_id":"","url":"https://api.github.com/users/parse-community","html_url":"https://github.com/parse-community","followers_url":"https://api.github.com/users/parse-community/followers","following_url":"https://api.github.com/users/parse-community/following{/other_user}","gists_url":"https://api.github.com/users/parse-community/gists{/gist_id}","starred_url":"https://api.github.com/users/parse-community/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parse-community/subscriptions","organizations_url":"https://api.github.com/users/parse-community/orgs","repos_url":"https://api.github.com/users/parse-community/repos","events_url":"https://api.github.com/users/parse-community/events{/privacy}","received_events_url":"https://api.github.com/users/parse-community/received_events","type":"Organization","site_admin":false},"repo":{"id":50603846,"name":"parse-server","full_name":"parse-community/parse-server","owner":{"login":"parse-community","id":26932219,"avatar_url":"https://avatars0.githubusercontent.com/u/26932219?v=3","gravatar_id":"","url":"https://api.github.com/users/parse-community","html_url":"https://github.com/parse-community","followers_url":"https://api.github.com/users/parse-community/followers","following_url":"https://api.github.com/users/parse-community/following{/other_user}","gists_url":"https://api.github.com/users/parse-community/gists{/gist_id}","starred_url":"https://api.github.com/users/parse-community/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parse-community/subscriptions","organizations_url":"https://api.github.com/users/parse-community/orgs","repos_url":"https://api.github.com/users/parse-community/repos","events_url":"https://api.github.com/users/parse-community/events{/privacy}","received_events_url":"https://api.github.com/users/parse-community/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/parse-community/parse-server","description":"Parse-compatible API server module for Node/Express","fork":false,"url":"https://api.github.com/repos/parse-community/parse-server","forks_url":"https://api.github.com/repos/parse-community/parse-server/forks","keys_url":"https://api.github.com/repos/parse-community/parse-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/parse-community/parse-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/parse-community/parse-server/teams","hooks_url":"https://api.github.com/repos/parse-community/parse-server/hooks","issue_events_url":"https://api.github.com/repos/parse-community/parse-server/issues/events{/number}","events_url":"https://api.github.com/repos/parse-community/parse-server/events","assignees_url":"https://api.github.com/repos/parse-community/parse-server/assignees{/user}","branches_url":"https://api.github.com/repos/parse-community/parse-server/branches{/branch}","tags_url":"https://api.github.com/repos/parse-community/parse-server/tags","blobs_url":"https://api.github.com/repos/parse-community/parse-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/parse-community/parse-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/parse-community/parse-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/parse-community/parse-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/parse-community/parse-server/statuses/{sha}","languages_url":"https://api.github.com/repos/parse-community/parse-server/languages","stargazers_url":"https://api.github.com/repos/parse-community/parse-server/stargazers","contributors_url":"https://api.github.com/repos/parse-community/parse-server/contributors","subscribers_url":"https://api.github.com/repos/parse-community/parse-server/subscribers","subscription_url":"https://api.github.com/repos/parse-community/parse-server/subscription","commits_url":"https://api.github.com/repos/parse-community/parse-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/parse-community/parse-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/parse-community/parse-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/parse-community/parse-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/parse-community/parse-server/contents/{+path}","compare_url":"https://api.github.com/repos/parse-community/parse-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/parse-community/parse-server/merges","archive_url":"https://api.github.com/repos/parse-community/parse-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/parse-community/parse-server/downloads","issues_url":"https://api.github.com/repos/parse-community/parse-server/issues{/number}","pulls_url":"https://api.github.com/repos/parse-community/parse-server/pulls{/number}","milestones_url":"https://api.github.com/repos/parse-community/parse-server/milestones{/number}","notifications_url":"https://api.github.com/repos/parse-community/parse-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/parse-community/parse-server/labels{/name}","releases_url":"https://api.github.com/repos/parse-community/parse-server/releases{/id}","deployments_url":"https://api.github.com/repos/parse-community/parse-server/deployments","created_at":"2016-01-28T18:29:14Z","updated_at":"2017-05-16T16:33:36Z","pushed_at":"2017-05-16T17:23:14Z","git_url":"git://github.com/parse-community/parse-server.git","ssh_url":"git@github.com:parse-community/parse-server.git","clone_url":"https://github.com/parse-community/parse-server.git","svn_url":"https://github.com/parse-community/parse-server","homepage":"http://parseplatform.org","size":3831,"stargazers_count":13405,"watchers_count":13405,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3618,"mirror_url":null,"open_issues_count":167,"forks":3618,"open_issues":167,"watchers":13405,"default_branch":"master"}},"base":{"label":"parse-community:master","ref":"master","sha":"9dbb89a2e4fdef30ca65e540a660dc6fb8ea71a0","user":{"login":"parse-community","id":26932219,"avatar_url":"https://avatars0.githubusercontent.com/u/26932219?v=3","gravatar_id":"","url":"https://api.github.com/users/parse-community","html_url":"https://github.com/parse-community","followers_url":"https://api.github.com/users/parse-community/followers","following_url":"https://api.github.com/users/parse-community/following{/other_user}","gists_url":"https://api.github.com/users/parse-community/gists{/gist_id}","starred_url":"https://api.github.com/users/parse-community/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parse-community/subscriptions","organizations_url":"https://api.github.com/users/parse-community/orgs","repos_url":"https://api.github.com/users/parse-community/repos","events_url":"https://api.github.com/users/parse-community/events{/privacy}","received_events_url":"https://api.github.com/users/parse-community/received_events","type":"Organization","site_admin":false},"repo":{"id":50603846,"name":"parse-server","full_name":"parse-community/parse-server","owner":{"login":"parse-community","id":26932219,"avatar_url":"https://avatars0.githubusercontent.com/u/26932219?v=3","gravatar_id":"","url":"https://api.github.com/users/parse-community","html_url":"https://github.com/parse-community","followers_url":"https://api.github.com/users/parse-community/followers","following_url":"https://api.github.com/users/parse-community/following{/other_user}","gists_url":"https://api.github.com/users/parse-community/gists{/gist_id}","starred_url":"https://api.github.com/users/parse-community/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parse-community/subscriptions","organizations_url":"https://api.github.com/users/parse-community/orgs","repos_url":"https://api.github.com/users/parse-community/repos","events_url":"https://api.github.com/users/parse-community/events{/privacy}","received_events_url":"https://api.github.com/users/parse-community/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/parse-community/parse-server","description":"Parse-compatible API server module for Node/Express","fork":false,"url":"https://api.github.com/repos/parse-community/parse-server","forks_url":"https://api.github.com/repos/parse-community/parse-server/forks","keys_url":"https://api.github.com/repos/parse-community/parse-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/parse-community/parse-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/parse-community/parse-server/teams","hooks_url":"https://api.github.com/repos/parse-community/parse-server/hooks","issue_events_url":"https://api.github.com/repos/parse-community/parse-server/issues/events{/number}","events_url":"https://api.github.com/repos/parse-community/parse-server/events","assignees_url":"https://api.github.com/repos/parse-community/parse-server/assignees{/user}","branches_url":"https://api.github.com/repos/parse-community/parse-server/branches{/branch}","tags_url":"https://api.github.com/repos/parse-community/parse-server/tags","blobs_url":"https://api.github.com/repos/parse-community/parse-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/parse-community/parse-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/parse-community/parse-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/parse-community/parse-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/parse-community/parse-server/statuses/{sha}","languages_url":"https://api.github.com/repos/parse-community/parse-server/languages","stargazers_url":"https://api.github.com/repos/parse-community/parse-server/stargazers","contributors_url":"https://api.github.com/repos/parse-community/parse-server/contributors","subscribers_url":"https://api.github.com/repos/parse-community/parse-server/subscribers","subscription_url":"https://api.github.com/repos/parse-community/parse-server/subscription","commits_url":"https://api.github.com/repos/parse-community/parse-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/parse-community/parse-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/parse-community/parse-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/parse-community/parse-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/parse-community/parse-server/contents/{+path}","compare_url":"https://api.github.com/repos/parse-community/parse-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/parse-community/parse-server/merges","archive_url":"https://api.github.com/repos/parse-community/parse-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/parse-community/parse-server/downloads","issues_url":"https://api.github.com/repos/parse-community/parse-server/issues{/number}","pulls_url":"https://api.github.com/repos/parse-community/parse-server/pulls{/number}","milestones_url":"https://api.github.com/repos/parse-community/parse-server/milestones{/number}","notifications_url":"https://api.github.com/repos/parse-community/parse-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/parse-community/parse-server/labels{/name}","releases_url":"https://api.github.com/repos/parse-community/parse-server/releases{/id}","deployments_url":"https://api.github.com/repos/parse-community/parse-server/deployments","created_at":"2016-01-28T18:29:14Z","updated_at":"2017-05-16T16:33:36Z","pushed_at":"2017-05-16T17:23:14Z","git_url":"git://github.com/parse-community/parse-server.git","ssh_url":"git@github.com:parse-community/parse-server.git","clone_url":"https://github.com/parse-community/parse-server.git","svn_url":"https://github.com/parse-community/parse-server","homepage":"http://parseplatform.org","size":3831,"stargazers_count":13405,"watchers_count":13405,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3618,"mirror_url":null,"open_issues_count":167,"forks":3618,"open_issues":167,"watchers":13405,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/parse-community/parse-server/pulls/3821"},"html":{"href":"https://github.com/parse-community/parse-server/pull/3821"},"issue":{"href":"https://api.github.com/repos/parse-community/parse-server/issues/3821"},"comments":{"href":"https://api.github.com/repos/parse-community/parse-server/issues/3821/comments"},"review_comments":{"href":"https://api.github.com/repos/parse-community/parse-server/pulls/3821/comments"},"review_comment":{"href":"https://api.github.com/repos/parse-community/parse-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/parse-community/parse-server/pulls/3821/commits"},"statuses":{"href":"https://api.github.com/repos/parse-community/parse-server/statuses/51501c77e39fc5c6dc1f4f42ab4ac72879dc6b78"}}}}
{"actor":{"display_login":"flovilmart"}}