{"action":"created","comment":{"url":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/pulls/comments/37856297","id":37856297,"diff_hunk":"@@ -0,0 +1,53 @@\n+<?php\n+session_start();\n+$email = $_POST[\"email\"];\n+$_SESSION[\"forgotPasswordEmail\"] = $email;\n+\n+include 'connection.php';\n+$sql = \"SELECT email, dob FROM users\";\n+$result = $connection->query($sql);\n+\n+if ($result->num_rows > 0) {\n+  while ($row = $result->fetch_assoc) {\n+    if ($email == $row[\"email\"]) {\n+      $dob = $row[\"dob\"];\n+    } else {\n+      echo \"No user registered with this email\";\n+      header('Location: ./forgotPassword.php?alert=No user registered with this email');\n+    }\n+  }\n+}\n+$rand1 = rand(1950,1999).\"-\".rand(1,12).\"-\".rand(1,30);\n+$rand2 = rand(1950,1999).\"-\".rand(1,12).\"-\".rand(1,30);\n+$rand3 = rand(1950,1999).\"-\".rand(1,12).\"-\".rand(1,30);\n+?>\n+<!DOCTYPE html>\n+<html>\n+  <head>\n+    <meta charset=\"utf-8\">\n+    <title>13th Annual Alumni Meet &middot; Security Question</title>\n+    <?php include 'topHead.php'; ?>\n+  </head>\n+  <body>\n+    <?php include 'navbar.php'; ?>\n+    <div class=\"jumbotron\" align=\"center\">\n+      <h2>Security Question</h2>\n+      <h4>What is your Date of Birth ??</h4>\n+      <form class=\"\" action=\"index.html\" method=\"post\">","path":"securityQues.php","position":36,"original_position":36,"commit_id":"28a116b41321d1734f35e3ed8b2a833c86b88cf0","original_commit_id":"28a116b41321d1734f35e3ed8b2a833c86b88cf0","user":{"login":"icyflame","id":3668034,"avatar_url":"https://avatars.githubusercontent.com/u/3668034?v=3","gravatar_id":"","url":"https://api.github.com/users/icyflame","html_url":"https://github.com/icyflame","followers_url":"https://api.github.com/users/icyflame/followers","following_url":"https://api.github.com/users/icyflame/following{/other_user}","gists_url":"https://api.github.com/users/icyflame/gists{/gist_id}","starred_url":"https://api.github.com/users/icyflame/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icyflame/subscriptions","organizations_url":"https://api.github.com/users/icyflame/orgs","repos_url":"https://api.github.com/users/icyflame/repos","events_url":"https://api.github.com/users/icyflame/events{/privacy}","received_events_url":"https://api.github.com/users/icyflame/received_events","type":"User","site_admin":false},"body":"Why is action set to `index.html`?","created_at":"2015-08-25T11:54:42Z","updated_at":"2015-08-25T11:54:42Z","html_url":"https://github.com/students-alumni-cell-iitkgp/aam-2016/pull/50#discussion_r37856297","pull_request_url":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/pulls/50","_links":{"self":{"href":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/pulls/comments/37856297"},"html":{"href":"https://github.com/students-alumni-cell-iitkgp/aam-2016/pull/50#discussion_r37856297"},"pull_request":{"href":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/pulls/50"}}},"pull_request":{"url":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/pulls/50","id":43225822,"html_url":"https://github.com/students-alumni-cell-iitkgp/aam-2016/pull/50","diff_url":"https://github.com/students-alumni-cell-iitkgp/aam-2016/pull/50.diff","patch_url":"https://github.com/students-alumni-cell-iitkgp/aam-2016/pull/50.patch","issue_url":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/issues/50","number":50,"state":"open","locked":false,"title":"forgot password implementation","user":{"login":"aniarya82","id":7463217,"avatar_url":"https://avatars.githubusercontent.com/u/7463217?v=3","gravatar_id":"","url":"https://api.github.com/users/aniarya82","html_url":"https://github.com/aniarya82","followers_url":"https://api.github.com/users/aniarya82/followers","following_url":"https://api.github.com/users/aniarya82/following{/other_user}","gists_url":"https://api.github.com/users/aniarya82/gists{/gist_id}","starred_url":"https://api.github.com/users/aniarya82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aniarya82/subscriptions","organizations_url":"https://api.github.com/users/aniarya82/orgs","repos_url":"https://api.github.com/users/aniarya82/repos","events_url":"https://api.github.com/users/aniarya82/events{/privacy}","received_events_url":"https://api.github.com/users/aniarya82/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-24T21:45:32Z","updated_at":"2015-08-25T11:54:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1f151cb868900182e199046b02c3b3bf44838078","assignee":{"login":"icyflame","id":3668034,"avatar_url":"https://avatars.githubusercontent.com/u/3668034?v=3","gravatar_id":"","url":"https://api.github.com/users/icyflame","html_url":"https://github.com/icyflame","followers_url":"https://api.github.com/users/icyflame/followers","following_url":"https://api.github.com/users/icyflame/following{/other_user}","gists_url":"https://api.github.com/users/icyflame/gists{/gist_id}","starred_url":"https://api.github.com/users/icyflame/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icyflame/subscriptions","organizations_url":"https://api.github.com/users/icyflame/orgs","repos_url":"https://api.github.com/users/icyflame/repos","events_url":"https://api.github.com/users/icyflame/events{/privacy}","received_events_url":"https://api.github.com/users/icyflame/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/pulls/50/commits","review_comments_url":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/pulls/50/comments","review_comment_url":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/pulls/comments{/number}","comments_url":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/issues/50/comments","statuses_url":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/statuses/28a116b41321d1734f35e3ed8b2a833c86b88cf0","head":{"label":"aniarya82:gh-pages","ref":"gh-pages","sha":"28a116b41321d1734f35e3ed8b2a833c86b88cf0","user":{"login":"aniarya82","id":7463217,"avatar_url":"https://avatars.githubusercontent.com/u/7463217?v=3","gravatar_id":"","url":"https://api.github.com/users/aniarya82","html_url":"https://github.com/aniarya82","followers_url":"https://api.github.com/users/aniarya82/followers","following_url":"https://api.github.com/users/aniarya82/following{/other_user}","gists_url":"https://api.github.com/users/aniarya82/gists{/gist_id}","starred_url":"https://api.github.com/users/aniarya82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aniarya82/subscriptions","organizations_url":"https://api.github.com/users/aniarya82/orgs","repos_url":"https://api.github.com/users/aniarya82/repos","events_url":"https://api.github.com/users/aniarya82/events{/privacy}","received_events_url":"https://api.github.com/users/aniarya82/received_events","type":"User","site_admin":false},"repo":{"id":40416927,"name":"aam-2016","full_name":"aniarya82/aam-2016","owner":{"login":"aniarya82","id":7463217,"avatar_url":"https://avatars.githubusercontent.com/u/7463217?v=3","gravatar_id":"","url":"https://api.github.com/users/aniarya82","html_url":"https://github.com/aniarya82","followers_url":"https://api.github.com/users/aniarya82/followers","following_url":"https://api.github.com/users/aniarya82/following{/other_user}","gists_url":"https://api.github.com/users/aniarya82/gists{/gist_id}","starred_url":"https://api.github.com/users/aniarya82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aniarya82/subscriptions","organizations_url":"https://api.github.com/users/aniarya82/orgs","repos_url":"https://api.github.com/users/aniarya82/repos","events_url":"https://api.github.com/users/aniarya82/events{/privacy}","received_events_url":"https://api.github.com/users/aniarya82/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aniarya82/aam-2016","description":"Website of 13th Annual Alumni Meet.","fork":true,"url":"https://api.github.com/repos/aniarya82/aam-2016","forks_url":"https://api.github.com/repos/aniarya82/aam-2016/forks","keys_url":"https://api.github.com/repos/aniarya82/aam-2016/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aniarya82/aam-2016/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aniarya82/aam-2016/teams","hooks_url":"https://api.github.com/repos/aniarya82/aam-2016/hooks","issue_events_url":"https://api.github.com/repos/aniarya82/aam-2016/issues/events{/number}","events_url":"https://api.github.com/repos/aniarya82/aam-2016/events","assignees_url":"https://api.github.com/repos/aniarya82/aam-2016/assignees{/user}","branches_url":"https://api.github.com/repos/aniarya82/aam-2016/branches{/branch}","tags_url":"https://api.github.com/repos/aniarya82/aam-2016/tags","blobs_url":"https://api.github.com/repos/aniarya82/aam-2016/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aniarya82/aam-2016/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aniarya82/aam-2016/git/refs{/sha}","trees_url":"https://api.github.com/repos/aniarya82/aam-2016/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aniarya82/aam-2016/statuses/{sha}","languages_url":"https://api.github.com/repos/aniarya82/aam-2016/languages","stargazers_url":"https://api.github.com/repos/aniarya82/aam-2016/stargazers","contributors_url":"https://api.github.com/repos/aniarya82/aam-2016/contributors","subscribers_url":"https://api.github.com/repos/aniarya82/aam-2016/subscribers","subscription_url":"https://api.github.com/repos/aniarya82/aam-2016/subscription","commits_url":"https://api.github.com/repos/aniarya82/aam-2016/commits{/sha}","git_commits_url":"https://api.github.com/repos/aniarya82/aam-2016/git/commits{/sha}","comments_url":"https://api.github.com/repos/aniarya82/aam-2016/comments{/number}","issue_comment_url":"https://api.github.com/repos/aniarya82/aam-2016/issues/comments{/number}","contents_url":"https://api.github.com/repos/aniarya82/aam-2016/contents/{+path}","compare_url":"https://api.github.com/repos/aniarya82/aam-2016/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aniarya82/aam-2016/merges","archive_url":"https://api.github.com/repos/aniarya82/aam-2016/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aniarya82/aam-2016/downloads","issues_url":"https://api.github.com/repos/aniarya82/aam-2016/issues{/number}","pulls_url":"https://api.github.com/repos/aniarya82/aam-2016/pulls{/number}","milestones_url":"https://api.github.com/repos/aniarya82/aam-2016/milestones{/number}","notifications_url":"https://api.github.com/repos/aniarya82/aam-2016/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aniarya82/aam-2016/labels{/name}","releases_url":"https://api.github.com/repos/aniarya82/aam-2016/releases{/id}","created_at":"2015-08-08T21:28:45Z","updated_at":"2015-08-24T12:41:40Z","pushed_at":"2015-08-24T21:44:42Z","git_url":"git://github.com/aniarya82/aam-2016.git","ssh_url":"git@github.com:aniarya82/aam-2016.git","clone_url":"https://github.com/aniarya82/aam-2016.git","svn_url":"https://github.com/aniarya82/aam-2016","homepage":"http://www.alumnimeet.iitkgp.ernet.in/","size":5173,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"gh-pages"}},"base":{"label":"students-alumni-cell-iitkgp:gh-pages","ref":"gh-pages","sha":"b73799f0710058a7c9264aab80f4747c093c0092","user":{"login":"students-alumni-cell-iitkgp","id":11838030,"avatar_url":"https://avatars.githubusercontent.com/u/11838030?v=3","gravatar_id":"","url":"https://api.github.com/users/students-alumni-cell-iitkgp","html_url":"https://github.com/students-alumni-cell-iitkgp","followers_url":"https://api.github.com/users/students-alumni-cell-iitkgp/followers","following_url":"https://api.github.com/users/students-alumni-cell-iitkgp/following{/other_user}","gists_url":"https://api.github.com/users/students-alumni-cell-iitkgp/gists{/gist_id}","starred_url":"https://api.github.com/users/students-alumni-cell-iitkgp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/students-alumni-cell-iitkgp/subscriptions","organizations_url":"https://api.github.com/users/students-alumni-cell-iitkgp/orgs","repos_url":"https://api.github.com/users/students-alumni-cell-iitkgp/repos","events_url":"https://api.github.com/users/students-alumni-cell-iitkgp/events{/privacy}","received_events_url":"https://api.github.com/users/students-alumni-cell-iitkgp/received_events","type":"Organization","site_admin":false},"repo":{"id":33551687,"name":"aam-2016","full_name":"students-alumni-cell-iitkgp/aam-2016","owner":{"login":"students-alumni-cell-iitkgp","id":11838030,"avatar_url":"https://avatars.githubusercontent.com/u/11838030?v=3","gravatar_id":"","url":"https://api.github.com/users/students-alumni-cell-iitkgp","html_url":"https://github.com/students-alumni-cell-iitkgp","followers_url":"https://api.github.com/users/students-alumni-cell-iitkgp/followers","following_url":"https://api.github.com/users/students-alumni-cell-iitkgp/following{/other_user}","gists_url":"https://api.github.com/users/students-alumni-cell-iitkgp/gists{/gist_id}","starred_url":"https://api.github.com/users/students-alumni-cell-iitkgp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/students-alumni-cell-iitkgp/subscriptions","organizations_url":"https://api.github.com/users/students-alumni-cell-iitkgp/orgs","repos_url":"https://api.github.com/users/students-alumni-cell-iitkgp/repos","events_url":"https://api.github.com/users/students-alumni-cell-iitkgp/events{/privacy}","received_events_url":"https://api.github.com/users/students-alumni-cell-iitkgp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/students-alumni-cell-iitkgp/aam-2016","description":"Website of 13th Annual Alumni Meet.","fork":false,"url":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016","forks_url":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/forks","keys_url":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/keys{/key_id}","collaborators_url":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/teams","hooks_url":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/hooks","issue_events_url":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/issues/events{/number}","events_url":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/events","assignees_url":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/assignees{/user}","branches_url":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/branches{/branch}","tags_url":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/tags","blobs_url":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/git/refs{/sha}","trees_url":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/git/trees{/sha}","statuses_url":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/statuses/{sha}","languages_url":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/languages","stargazers_url":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/stargazers","contributors_url":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/contributors","subscribers_url":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/subscribers","subscription_url":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/subscription","commits_url":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/commits{/sha}","git_commits_url":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/git/commits{/sha}","comments_url":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/comments{/number}","issue_comment_url":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/issues/comments{/number}","contents_url":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/contents/{+path}","compare_url":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/compare/{base}...{head}","merges_url":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/merges","archive_url":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/downloads","issues_url":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/issues{/number}","pulls_url":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/pulls{/number}","milestones_url":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/milestones{/number}","notifications_url":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/labels{/name}","releases_url":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/releases{/id}","created_at":"2015-04-07T15:30:28Z","updated_at":"2015-08-23T05:34:53Z","pushed_at":"2015-08-24T21:45:33Z","git_url":"git://github.com/students-alumni-cell-iitkgp/aam-2016.git","ssh_url":"git@github.com:students-alumni-cell-iitkgp/aam-2016.git","clone_url":"https://github.com/students-alumni-cell-iitkgp/aam-2016.git","svn_url":"https://github.com/students-alumni-cell-iitkgp/aam-2016","homepage":"http://www.alumnimeet.iitkgp.ernet.in/","size":7057,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":7,"mirror_url":null,"open_issues_count":4,"forks":7,"open_issues":4,"watchers":0,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/pulls/50"},"html":{"href":"https://github.com/students-alumni-cell-iitkgp/aam-2016/pull/50"},"issue":{"href":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/issues/50"},"comments":{"href":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/issues/50/comments"},"review_comments":{"href":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/pulls/50/comments"},"review_comment":{"href":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/pulls/50/commits"},"statuses":{"href":"https://api.github.com/repos/students-alumni-cell-iitkgp/aam-2016/statuses/28a116b41321d1734f35e3ed8b2a833c86b88cf0"}}}}