{"action":"created","comment":{"url":"https://api.github.com/repos/ISAMARC/documentario/pulls/comments/79978391","id":79978391,"diff_hunk":"@@ -19,9 +19,9 @@ module.exports = function (app, passport, LocalStrategy, cookieParser, session,\n       passwordField: 'password'\n     },\n     function (username, password, done) {\n-      // check if it is ok or not\n-      // aqui se puede hacer la busqueda del usuario\n-      var query = 'select * from USERS where status > 0 and username like \\'' + username + '\\'',\n+      // Verify user name\n+      var usernameLowerCase = username.toLowerCase().trim(),\n+          query = 'select * from USERS where status > 0 and username = \\'' + usernameLowerCase + '\\'',","path":"server/core/authentication.js","position":null,"original_position":9,"commit_id":"5f1bd0a5041d4dc0ddf3082bfb0454a0baa42231","original_commit_id":"834dda010065194e85841c7e4315ec3f9f4cc95e","user":{"login":"lueimg","id":3759580,"avatar_url":"https://avatars.githubusercontent.com/u/3759580?v=3","gravatar_id":"","url":"https://api.github.com/users/lueimg","html_url":"https://github.com/lueimg","followers_url":"https://api.github.com/users/lueimg/followers","following_url":"https://api.github.com/users/lueimg/following{/other_user}","gists_url":"https://api.github.com/users/lueimg/gists{/gist_id}","starred_url":"https://api.github.com/users/lueimg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lueimg/subscriptions","organizations_url":"https://api.github.com/users/lueimg/orgs","repos_url":"https://api.github.com/users/lueimg/repos","events_url":"https://api.github.com/users/lueimg/events{/privacy}","received_events_url":"https://api.github.com/users/lueimg/received_events","type":"User","site_admin":false},"body":"done","created_at":"2016-09-22T05:42:46Z","updated_at":"2016-09-22T05:42:46Z","html_url":"https://github.com/ISAMARC/documentario/pull/12#discussion_r79978391","pull_request_url":"https://api.github.com/repos/ISAMARC/documentario/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/ISAMARC/documentario/pulls/comments/79978391"},"html":{"href":"https://github.com/ISAMARC/documentario/pull/12#discussion_r79978391"},"pull_request":{"href":"https://api.github.com/repos/ISAMARC/documentario/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/ISAMARC/documentario/pulls/12","id":85682777,"html_url":"https://github.com/ISAMARC/documentario/pull/12","diff_url":"https://github.com/ISAMARC/documentario/pull/12.diff","patch_url":"https://github.com/ISAMARC/documentario/pull/12.patch","issue_url":"https://api.github.com/repos/ISAMARC/documentario/issues/12","number":12,"state":"open","locked":false,"title":"Dev/isaac changes","user":{"login":"lueimg","id":3759580,"avatar_url":"https://avatars.githubusercontent.com/u/3759580?v=3","gravatar_id":"","url":"https://api.github.com/users/lueimg","html_url":"https://github.com/lueimg","followers_url":"https://api.github.com/users/lueimg/followers","following_url":"https://api.github.com/users/lueimg/following{/other_user}","gists_url":"https://api.github.com/users/lueimg/gists{/gist_id}","starred_url":"https://api.github.com/users/lueimg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lueimg/subscriptions","organizations_url":"https://api.github.com/users/lueimg/orgs","repos_url":"https://api.github.com/users/lueimg/repos","events_url":"https://api.github.com/users/lueimg/events{/privacy}","received_events_url":"https://api.github.com/users/lueimg/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-17T18:36:09Z","updated_at":"2016-09-22T05:42:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c37d9ce99e59a9acdeaaf605c1774e2fa4b22e70","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ISAMARC/documentario/pulls/12/commits","review_comments_url":"https://api.github.com/repos/ISAMARC/documentario/pulls/12/comments","review_comment_url":"https://api.github.com/repos/ISAMARC/documentario/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ISAMARC/documentario/issues/12/comments","statuses_url":"https://api.github.com/repos/ISAMARC/documentario/statuses/5f1bd0a5041d4dc0ddf3082bfb0454a0baa42231","head":{"label":"ISAMARC:dev/IsaacChanges","ref":"dev/IsaacChanges","sha":"5f1bd0a5041d4dc0ddf3082bfb0454a0baa42231","user":{"login":"ISAMARC","id":13279659,"avatar_url":"https://avatars.githubusercontent.com/u/13279659?v=3","gravatar_id":"","url":"https://api.github.com/users/ISAMARC","html_url":"https://github.com/ISAMARC","followers_url":"https://api.github.com/users/ISAMARC/followers","following_url":"https://api.github.com/users/ISAMARC/following{/other_user}","gists_url":"https://api.github.com/users/ISAMARC/gists{/gist_id}","starred_url":"https://api.github.com/users/ISAMARC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ISAMARC/subscriptions","organizations_url":"https://api.github.com/users/ISAMARC/orgs","repos_url":"https://api.github.com/users/ISAMARC/repos","events_url":"https://api.github.com/users/ISAMARC/events{/privacy}","received_events_url":"https://api.github.com/users/ISAMARC/received_events","type":"Organization","site_admin":false},"repo":{"id":58099400,"name":"documentario","full_name":"ISAMARC/documentario","owner":{"login":"ISAMARC","id":13279659,"avatar_url":"https://avatars.githubusercontent.com/u/13279659?v=3","gravatar_id":"","url":"https://api.github.com/users/ISAMARC","html_url":"https://github.com/ISAMARC","followers_url":"https://api.github.com/users/ISAMARC/followers","following_url":"https://api.github.com/users/ISAMARC/following{/other_user}","gists_url":"https://api.github.com/users/ISAMARC/gists{/gist_id}","starred_url":"https://api.github.com/users/ISAMARC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ISAMARC/subscriptions","organizations_url":"https://api.github.com/users/ISAMARC/orgs","repos_url":"https://api.github.com/users/ISAMARC/repos","events_url":"https://api.github.com/users/ISAMARC/events{/privacy}","received_events_url":"https://api.github.com/users/ISAMARC/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ISAMARC/documentario","description":"","fork":false,"url":"https://api.github.com/repos/ISAMARC/documentario","forks_url":"https://api.github.com/repos/ISAMARC/documentario/forks","keys_url":"https://api.github.com/repos/ISAMARC/documentario/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ISAMARC/documentario/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ISAMARC/documentario/teams","hooks_url":"https://api.github.com/repos/ISAMARC/documentario/hooks","issue_events_url":"https://api.github.com/repos/ISAMARC/documentario/issues/events{/number}","events_url":"https://api.github.com/repos/ISAMARC/documentario/events","assignees_url":"https://api.github.com/repos/ISAMARC/documentario/assignees{/user}","branches_url":"https://api.github.com/repos/ISAMARC/documentario/branches{/branch}","tags_url":"https://api.github.com/repos/ISAMARC/documentario/tags","blobs_url":"https://api.github.com/repos/ISAMARC/documentario/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ISAMARC/documentario/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ISAMARC/documentario/git/refs{/sha}","trees_url":"https://api.github.com/repos/ISAMARC/documentario/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ISAMARC/documentario/statuses/{sha}","languages_url":"https://api.github.com/repos/ISAMARC/documentario/languages","stargazers_url":"https://api.github.com/repos/ISAMARC/documentario/stargazers","contributors_url":"https://api.github.com/repos/ISAMARC/documentario/contributors","subscribers_url":"https://api.github.com/repos/ISAMARC/documentario/subscribers","subscription_url":"https://api.github.com/repos/ISAMARC/documentario/subscription","commits_url":"https://api.github.com/repos/ISAMARC/documentario/commits{/sha}","git_commits_url":"https://api.github.com/repos/ISAMARC/documentario/git/commits{/sha}","comments_url":"https://api.github.com/repos/ISAMARC/documentario/comments{/number}","issue_comment_url":"https://api.github.com/repos/ISAMARC/documentario/issues/comments{/number}","contents_url":"https://api.github.com/repos/ISAMARC/documentario/contents/{+path}","compare_url":"https://api.github.com/repos/ISAMARC/documentario/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ISAMARC/documentario/merges","archive_url":"https://api.github.com/repos/ISAMARC/documentario/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ISAMARC/documentario/downloads","issues_url":"https://api.github.com/repos/ISAMARC/documentario/issues{/number}","pulls_url":"https://api.github.com/repos/ISAMARC/documentario/pulls{/number}","milestones_url":"https://api.github.com/repos/ISAMARC/documentario/milestones{/number}","notifications_url":"https://api.github.com/repos/ISAMARC/documentario/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ISAMARC/documentario/labels{/name}","releases_url":"https://api.github.com/repos/ISAMARC/documentario/releases{/id}","deployments_url":"https://api.github.com/repos/ISAMARC/documentario/deployments","created_at":"2016-05-05T02:48:06Z","updated_at":"2016-09-09T19:45:23Z","pushed_at":"2016-09-22T05:41:27Z","git_url":"git://github.com/ISAMARC/documentario.git","ssh_url":"git@github.com:ISAMARC/documentario.git","clone_url":"https://github.com/ISAMARC/documentario.git","svn_url":"https://github.com/ISAMARC/documentario","homepage":null,"size":28853,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":2,"default_branch":"master"}},"base":{"label":"ISAMARC:development","ref":"development","sha":"95cfa417ac0c8e4ab1bd0a35dcbf0d46154b5a63","user":{"login":"ISAMARC","id":13279659,"avatar_url":"https://avatars.githubusercontent.com/u/13279659?v=3","gravatar_id":"","url":"https://api.github.com/users/ISAMARC","html_url":"https://github.com/ISAMARC","followers_url":"https://api.github.com/users/ISAMARC/followers","following_url":"https://api.github.com/users/ISAMARC/following{/other_user}","gists_url":"https://api.github.com/users/ISAMARC/gists{/gist_id}","starred_url":"https://api.github.com/users/ISAMARC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ISAMARC/subscriptions","organizations_url":"https://api.github.com/users/ISAMARC/orgs","repos_url":"https://api.github.com/users/ISAMARC/repos","events_url":"https://api.github.com/users/ISAMARC/events{/privacy}","received_events_url":"https://api.github.com/users/ISAMARC/received_events","type":"Organization","site_admin":false},"repo":{"id":58099400,"name":"documentario","full_name":"ISAMARC/documentario","owner":{"login":"ISAMARC","id":13279659,"avatar_url":"https://avatars.githubusercontent.com/u/13279659?v=3","gravatar_id":"","url":"https://api.github.com/users/ISAMARC","html_url":"https://github.com/ISAMARC","followers_url":"https://api.github.com/users/ISAMARC/followers","following_url":"https://api.github.com/users/ISAMARC/following{/other_user}","gists_url":"https://api.github.com/users/ISAMARC/gists{/gist_id}","starred_url":"https://api.github.com/users/ISAMARC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ISAMARC/subscriptions","organizations_url":"https://api.github.com/users/ISAMARC/orgs","repos_url":"https://api.github.com/users/ISAMARC/repos","events_url":"https://api.github.com/users/ISAMARC/events{/privacy}","received_events_url":"https://api.github.com/users/ISAMARC/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ISAMARC/documentario","description":"","fork":false,"url":"https://api.github.com/repos/ISAMARC/documentario","forks_url":"https://api.github.com/repos/ISAMARC/documentario/forks","keys_url":"https://api.github.com/repos/ISAMARC/documentario/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ISAMARC/documentario/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ISAMARC/documentario/teams","hooks_url":"https://api.github.com/repos/ISAMARC/documentario/hooks","issue_events_url":"https://api.github.com/repos/ISAMARC/documentario/issues/events{/number}","events_url":"https://api.github.com/repos/ISAMARC/documentario/events","assignees_url":"https://api.github.com/repos/ISAMARC/documentario/assignees{/user}","branches_url":"https://api.github.com/repos/ISAMARC/documentario/branches{/branch}","tags_url":"https://api.github.com/repos/ISAMARC/documentario/tags","blobs_url":"https://api.github.com/repos/ISAMARC/documentario/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ISAMARC/documentario/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ISAMARC/documentario/git/refs{/sha}","trees_url":"https://api.github.com/repos/ISAMARC/documentario/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ISAMARC/documentario/statuses/{sha}","languages_url":"https://api.github.com/repos/ISAMARC/documentario/languages","stargazers_url":"https://api.github.com/repos/ISAMARC/documentario/stargazers","contributors_url":"https://api.github.com/repos/ISAMARC/documentario/contributors","subscribers_url":"https://api.github.com/repos/ISAMARC/documentario/subscribers","subscription_url":"https://api.github.com/repos/ISAMARC/documentario/subscription","commits_url":"https://api.github.com/repos/ISAMARC/documentario/commits{/sha}","git_commits_url":"https://api.github.com/repos/ISAMARC/documentario/git/commits{/sha}","comments_url":"https://api.github.com/repos/ISAMARC/documentario/comments{/number}","issue_comment_url":"https://api.github.com/repos/ISAMARC/documentario/issues/comments{/number}","contents_url":"https://api.github.com/repos/ISAMARC/documentario/contents/{+path}","compare_url":"https://api.github.com/repos/ISAMARC/documentario/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ISAMARC/documentario/merges","archive_url":"https://api.github.com/repos/ISAMARC/documentario/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ISAMARC/documentario/downloads","issues_url":"https://api.github.com/repos/ISAMARC/documentario/issues{/number}","pulls_url":"https://api.github.com/repos/ISAMARC/documentario/pulls{/number}","milestones_url":"https://api.github.com/repos/ISAMARC/documentario/milestones{/number}","notifications_url":"https://api.github.com/repos/ISAMARC/documentario/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ISAMARC/documentario/labels{/name}","releases_url":"https://api.github.com/repos/ISAMARC/documentario/releases{/id}","deployments_url":"https://api.github.com/repos/ISAMARC/documentario/deployments","created_at":"2016-05-05T02:48:06Z","updated_at":"2016-09-09T19:45:23Z","pushed_at":"2016-09-22T05:41:27Z","git_url":"git://github.com/ISAMARC/documentario.git","ssh_url":"git@github.com:ISAMARC/documentario.git","clone_url":"https://github.com/ISAMARC/documentario.git","svn_url":"https://github.com/ISAMARC/documentario","homepage":null,"size":28853,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ISAMARC/documentario/pulls/12"},"html":{"href":"https://github.com/ISAMARC/documentario/pull/12"},"issue":{"href":"https://api.github.com/repos/ISAMARC/documentario/issues/12"},"comments":{"href":"https://api.github.com/repos/ISAMARC/documentario/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/ISAMARC/documentario/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/ISAMARC/documentario/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ISAMARC/documentario/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/ISAMARC/documentario/statuses/5f1bd0a5041d4dc0ddf3082bfb0454a0baa42231"}}}}
{"actor":{"display_login":"lueimg"}}