{"action":"created","comment":{"url":"https://api.github.com/repos/mantisbt/mantisbt/pulls/comments/51350940","id":51350940,"diff_hunk":"@@ -241,7 +247,10 @@ function debug_setting_message ( $p_type, $p_setting, $p_value ) {\n \t\t\t</ul>\n \t\t\t<div class=\"field-container\">\n \t\t\t\t<label for=\"username\"><span><?php echo lang_get( 'username' ) ?></span></label>\n-\t\t\t\t<span class=\"input\"><input id=\"username\" type=\"text\" name=\"username\" size=\"32\" maxlength=\"<?php echo DB_FIELD_SIZE_USERNAME;?>\" value=\"<?php echo string_attribute( $f_username ); ?>\" class=\"<?php echo $t_username_field_autofocus ?>\" /></span>\n+\t\t\t\t<span class=\"input\">\n+\t\t\t\t\t<input id=\"username\" type=\"text\" name=\"username\" size=\"32\" maxlength=\"<?php\n+\t\t\t\t\t\techo DB_FIELD_SIZE_USERNAME;?>\" value=\"<?php echo string_attribute( $f_username ); ?>\" class=\"<?php\n+\t\t\t\t\t\techo $t_username_field_autofocus ?>\" <?php echo $t_username_placeholder; ?> /></span>","path":"login_page.php","position":null,"original_position":21,"commit_id":"6f698243c955946854d6c787cde9c98a81ea8707","original_commit_id":"908775bd284a9d2d6be495823daddff042dc72db","user":{"login":"vboctor","id":6446,"avatar_url":"https://avatars.githubusercontent.com/u/6446?v=3","gravatar_id":"","url":"https://api.github.com/users/vboctor","html_url":"https://github.com/vboctor","followers_url":"https://api.github.com/users/vboctor/followers","following_url":"https://api.github.com/users/vboctor/following{/other_user}","gists_url":"https://api.github.com/users/vboctor/gists{/gist_id}","starred_url":"https://api.github.com/users/vboctor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vboctor/subscriptions","organizations_url":"https://api.github.com/users/vboctor/orgs","repos_url":"https://api.github.com/users/vboctor/repos","events_url":"https://api.github.com/users/vboctor/events{/privacy}","received_events_url":"https://api.github.com/users/vboctor/received_events","type":"User","site_admin":false},"body":"Now I change the label rather than add a place holder.  Though not because of IE9 :) -- just checked evernote.com and they have it in the label.  I remember seeing it else where in the place holder.","created_at":"2016-01-30T21:08:18Z","updated_at":"2016-01-30T21:08:18Z","html_url":"https://github.com/mantisbt/mantisbt/pull/712#discussion_r51350940","pull_request_url":"https://api.github.com/repos/mantisbt/mantisbt/pulls/712","_links":{"self":{"href":"https://api.github.com/repos/mantisbt/mantisbt/pulls/comments/51350940"},"html":{"href":"https://github.com/mantisbt/mantisbt/pull/712#discussion_r51350940"},"pull_request":{"href":"https://api.github.com/repos/mantisbt/mantisbt/pulls/712"}}},"pull_request":{"url":"https://api.github.com/repos/mantisbt/mantisbt/pulls/712","id":57610267,"html_url":"https://github.com/mantisbt/mantisbt/pull/712","diff_url":"https://github.com/mantisbt/mantisbt/pull/712.diff","patch_url":"https://github.com/mantisbt/mantisbt/pull/712.patch","issue_url":"https://api.github.com/repos/mantisbt/mantisbt/issues/712","number":712,"state":"open","locked":false,"title":"Support login by email address","user":{"login":"vboctor","id":6446,"avatar_url":"https://avatars.githubusercontent.com/u/6446?v=3","gravatar_id":"","url":"https://api.github.com/users/vboctor","html_url":"https://github.com/vboctor","followers_url":"https://api.github.com/users/vboctor/followers","following_url":"https://api.github.com/users/vboctor/following{/other_user}","gists_url":"https://api.github.com/users/vboctor/gists{/gist_id}","starred_url":"https://api.github.com/users/vboctor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vboctor/subscriptions","organizations_url":"https://api.github.com/users/vboctor/orgs","repos_url":"https://api.github.com/users/vboctor/repos","events_url":"https://api.github.com/users/vboctor/events{/privacy}","received_events_url":"https://api.github.com/users/vboctor/received_events","type":"User","site_admin":false},"body":"In addition to login by username and password, this change adds\r\nsupport for login by email address and password when the following\r\nconditions are true:\r\n\r\n- email address is not blank.\r\n- email_login_enabled is ON.\r\n- there is a single enabled email account w/ such email.\r\n\r\nFixes #20543\r\n\r\nThis change also includes enforcing of email address uniqueness\r\nfor all new user signups, creation by manager, update by manager,\r\nand update by user.  A configuration option is available to turn this\r\nOFF.\r\n\r\nNote that there can still be duplicate emails for data that was already\r\nin the system or was updated while this option is turned OFF.  But\r\nfor new installs, we should be clean.\r\n\r\nFixes #9093","created_at":"2016-01-29T06:15:01Z","updated_at":"2016-01-30T21:08:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5a5d5e73574d9925f8e292aca34445478df862a7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mantisbt/mantisbt/pulls/712/commits","review_comments_url":"https://api.github.com/repos/mantisbt/mantisbt/pulls/712/comments","review_comment_url":"https://api.github.com/repos/mantisbt/mantisbt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mantisbt/mantisbt/issues/712/comments","statuses_url":"https://api.github.com/repos/mantisbt/mantisbt/statuses/6f698243c955946854d6c787cde9c98a81ea8707","head":{"label":"vboctor:issue20543_login_by_email","ref":"issue20543_login_by_email","sha":"6f698243c955946854d6c787cde9c98a81ea8707","user":{"login":"vboctor","id":6446,"avatar_url":"https://avatars.githubusercontent.com/u/6446?v=3","gravatar_id":"","url":"https://api.github.com/users/vboctor","html_url":"https://github.com/vboctor","followers_url":"https://api.github.com/users/vboctor/followers","following_url":"https://api.github.com/users/vboctor/following{/other_user}","gists_url":"https://api.github.com/users/vboctor/gists{/gist_id}","starred_url":"https://api.github.com/users/vboctor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vboctor/subscriptions","organizations_url":"https://api.github.com/users/vboctor/orgs","repos_url":"https://api.github.com/users/vboctor/repos","events_url":"https://api.github.com/users/vboctor/events{/privacy}","received_events_url":"https://api.github.com/users/vboctor/received_events","type":"User","site_admin":false},"repo":{"id":9786963,"name":"mantisbt","full_name":"vboctor/mantisbt","owner":{"login":"vboctor","id":6446,"avatar_url":"https://avatars.githubusercontent.com/u/6446?v=3","gravatar_id":"","url":"https://api.github.com/users/vboctor","html_url":"https://github.com/vboctor","followers_url":"https://api.github.com/users/vboctor/followers","following_url":"https://api.github.com/users/vboctor/following{/other_user}","gists_url":"https://api.github.com/users/vboctor/gists{/gist_id}","starred_url":"https://api.github.com/users/vboctor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vboctor/subscriptions","organizations_url":"https://api.github.com/users/vboctor/orgs","repos_url":"https://api.github.com/users/vboctor/repos","events_url":"https://api.github.com/users/vboctor/events{/privacy}","received_events_url":"https://api.github.com/users/vboctor/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vboctor/mantisbt","description":"Mantis Bug Tracker (MantisBT)","fork":true,"url":"https://api.github.com/repos/vboctor/mantisbt","forks_url":"https://api.github.com/repos/vboctor/mantisbt/forks","keys_url":"https://api.github.com/repos/vboctor/mantisbt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vboctor/mantisbt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vboctor/mantisbt/teams","hooks_url":"https://api.github.com/repos/vboctor/mantisbt/hooks","issue_events_url":"https://api.github.com/repos/vboctor/mantisbt/issues/events{/number}","events_url":"https://api.github.com/repos/vboctor/mantisbt/events","assignees_url":"https://api.github.com/repos/vboctor/mantisbt/assignees{/user}","branches_url":"https://api.github.com/repos/vboctor/mantisbt/branches{/branch}","tags_url":"https://api.github.com/repos/vboctor/mantisbt/tags","blobs_url":"https://api.github.com/repos/vboctor/mantisbt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vboctor/mantisbt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vboctor/mantisbt/git/refs{/sha}","trees_url":"https://api.github.com/repos/vboctor/mantisbt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vboctor/mantisbt/statuses/{sha}","languages_url":"https://api.github.com/repos/vboctor/mantisbt/languages","stargazers_url":"https://api.github.com/repos/vboctor/mantisbt/stargazers","contributors_url":"https://api.github.com/repos/vboctor/mantisbt/contributors","subscribers_url":"https://api.github.com/repos/vboctor/mantisbt/subscribers","subscription_url":"https://api.github.com/repos/vboctor/mantisbt/subscription","commits_url":"https://api.github.com/repos/vboctor/mantisbt/commits{/sha}","git_commits_url":"https://api.github.com/repos/vboctor/mantisbt/git/commits{/sha}","comments_url":"https://api.github.com/repos/vboctor/mantisbt/comments{/number}","issue_comment_url":"https://api.github.com/repos/vboctor/mantisbt/issues/comments{/number}","contents_url":"https://api.github.com/repos/vboctor/mantisbt/contents/{+path}","compare_url":"https://api.github.com/repos/vboctor/mantisbt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vboctor/mantisbt/merges","archive_url":"https://api.github.com/repos/vboctor/mantisbt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vboctor/mantisbt/downloads","issues_url":"https://api.github.com/repos/vboctor/mantisbt/issues{/number}","pulls_url":"https://api.github.com/repos/vboctor/mantisbt/pulls{/number}","milestones_url":"https://api.github.com/repos/vboctor/mantisbt/milestones{/number}","notifications_url":"https://api.github.com/repos/vboctor/mantisbt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vboctor/mantisbt/labels{/name}","releases_url":"https://api.github.com/repos/vboctor/mantisbt/releases{/id}","deployments_url":"https://api.github.com/repos/vboctor/mantisbt/deployments","created_at":"2013-05-01T06:35:52Z","updated_at":"2014-06-10T01:43:46Z","pushed_at":"2016-01-30T21:07:25Z","git_url":"git://github.com/vboctor/mantisbt.git","ssh_url":"git@github.com:vboctor/mantisbt.git","clone_url":"https://github.com/vboctor/mantisbt.git","svn_url":"https://github.com/vboctor/mantisbt","homepage":"http://www.mantisbt.org","size":63352,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master-1.2.x"}},"base":{"label":"mantisbt:master","ref":"master","sha":"8503a2daae9fbc7bd004de2b886e5199a2fda619","user":{"login":"mantisbt","id":318027,"avatar_url":"https://avatars.githubusercontent.com/u/318027?v=3","gravatar_id":"","url":"https://api.github.com/users/mantisbt","html_url":"https://github.com/mantisbt","followers_url":"https://api.github.com/users/mantisbt/followers","following_url":"https://api.github.com/users/mantisbt/following{/other_user}","gists_url":"https://api.github.com/users/mantisbt/gists{/gist_id}","starred_url":"https://api.github.com/users/mantisbt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mantisbt/subscriptions","organizations_url":"https://api.github.com/users/mantisbt/orgs","repos_url":"https://api.github.com/users/mantisbt/repos","events_url":"https://api.github.com/users/mantisbt/events{/privacy}","received_events_url":"https://api.github.com/users/mantisbt/received_events","type":"Organization","site_admin":false},"repo":{"id":747755,"name":"mantisbt","full_name":"mantisbt/mantisbt","owner":{"login":"mantisbt","id":318027,"avatar_url":"https://avatars.githubusercontent.com/u/318027?v=3","gravatar_id":"","url":"https://api.github.com/users/mantisbt","html_url":"https://github.com/mantisbt","followers_url":"https://api.github.com/users/mantisbt/followers","following_url":"https://api.github.com/users/mantisbt/following{/other_user}","gists_url":"https://api.github.com/users/mantisbt/gists{/gist_id}","starred_url":"https://api.github.com/users/mantisbt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mantisbt/subscriptions","organizations_url":"https://api.github.com/users/mantisbt/orgs","repos_url":"https://api.github.com/users/mantisbt/repos","events_url":"https://api.github.com/users/mantisbt/events{/privacy}","received_events_url":"https://api.github.com/users/mantisbt/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mantisbt/mantisbt","description":"Mantis Bug Tracker (MantisBT)","fork":false,"url":"https://api.github.com/repos/mantisbt/mantisbt","forks_url":"https://api.github.com/repos/mantisbt/mantisbt/forks","keys_url":"https://api.github.com/repos/mantisbt/mantisbt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mantisbt/mantisbt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mantisbt/mantisbt/teams","hooks_url":"https://api.github.com/repos/mantisbt/mantisbt/hooks","issue_events_url":"https://api.github.com/repos/mantisbt/mantisbt/issues/events{/number}","events_url":"https://api.github.com/repos/mantisbt/mantisbt/events","assignees_url":"https://api.github.com/repos/mantisbt/mantisbt/assignees{/user}","branches_url":"https://api.github.com/repos/mantisbt/mantisbt/branches{/branch}","tags_url":"https://api.github.com/repos/mantisbt/mantisbt/tags","blobs_url":"https://api.github.com/repos/mantisbt/mantisbt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mantisbt/mantisbt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mantisbt/mantisbt/git/refs{/sha}","trees_url":"https://api.github.com/repos/mantisbt/mantisbt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mantisbt/mantisbt/statuses/{sha}","languages_url":"https://api.github.com/repos/mantisbt/mantisbt/languages","stargazers_url":"https://api.github.com/repos/mantisbt/mantisbt/stargazers","contributors_url":"https://api.github.com/repos/mantisbt/mantisbt/contributors","subscribers_url":"https://api.github.com/repos/mantisbt/mantisbt/subscribers","subscription_url":"https://api.github.com/repos/mantisbt/mantisbt/subscription","commits_url":"https://api.github.com/repos/mantisbt/mantisbt/commits{/sha}","git_commits_url":"https://api.github.com/repos/mantisbt/mantisbt/git/commits{/sha}","comments_url":"https://api.github.com/repos/mantisbt/mantisbt/comments{/number}","issue_comment_url":"https://api.github.com/repos/mantisbt/mantisbt/issues/comments{/number}","contents_url":"https://api.github.com/repos/mantisbt/mantisbt/contents/{+path}","compare_url":"https://api.github.com/repos/mantisbt/mantisbt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mantisbt/mantisbt/merges","archive_url":"https://api.github.com/repos/mantisbt/mantisbt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mantisbt/mantisbt/downloads","issues_url":"https://api.github.com/repos/mantisbt/mantisbt/issues{/number}","pulls_url":"https://api.github.com/repos/mantisbt/mantisbt/pulls{/number}","milestones_url":"https://api.github.com/repos/mantisbt/mantisbt/milestones{/number}","notifications_url":"https://api.github.com/repos/mantisbt/mantisbt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mantisbt/mantisbt/labels{/name}","releases_url":"https://api.github.com/repos/mantisbt/mantisbt/releases{/id}","deployments_url":"https://api.github.com/repos/mantisbt/mantisbt/deployments","created_at":"2010-06-29T21:42:07Z","updated_at":"2016-01-30T18:56:04Z","pushed_at":"2016-01-30T21:07:25Z","git_url":"git://github.com/mantisbt/mantisbt.git","ssh_url":"git@github.com:mantisbt/mantisbt.git","clone_url":"https://github.com/mantisbt/mantisbt.git","svn_url":"https://github.com/mantisbt/mantisbt","homepage":"http://www.mantisbt.org","size":74556,"stargazers_count":551,"watchers_count":551,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":284,"mirror_url":null,"open_issues_count":68,"forks":284,"open_issues":68,"watchers":551,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mantisbt/mantisbt/pulls/712"},"html":{"href":"https://github.com/mantisbt/mantisbt/pull/712"},"issue":{"href":"https://api.github.com/repos/mantisbt/mantisbt/issues/712"},"comments":{"href":"https://api.github.com/repos/mantisbt/mantisbt/issues/712/comments"},"review_comments":{"href":"https://api.github.com/repos/mantisbt/mantisbt/pulls/712/comments"},"review_comment":{"href":"https://api.github.com/repos/mantisbt/mantisbt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mantisbt/mantisbt/pulls/712/commits"},"statuses":{"href":"https://api.github.com/repos/mantisbt/mantisbt/statuses/6f698243c955946854d6c787cde9c98a81ea8707"}}}}