{"action":"created","issue":{"url":"https://api.github.com/repos/mantisbt/mantisbt/issues/712","labels_url":"https://api.github.com/repos/mantisbt/mantisbt/issues/712/labels{/name}","comments_url":"https://api.github.com/repos/mantisbt/mantisbt/issues/712/comments","events_url":"https://api.github.com/repos/mantisbt/mantisbt/issues/712/events","html_url":"https://github.com/mantisbt/mantisbt/pull/712","id":129677810,"number":712,"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},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-29T06:15:01Z","updated_at":"2016-01-29T07:20:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mantisbt/mantisbt/pulls/712","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"},"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"},"comment":{"url":"https://api.github.com/repos/mantisbt/mantisbt/issues/comments/176615429","html_url":"https://github.com/mantisbt/mantisbt/pull/712#issuecomment-176615429","issue_url":"https://api.github.com/repos/mantisbt/mantisbt/issues/712","id":176615429,"user":{"login":"cproensa","id":14123811,"avatar_url":"https://avatars.githubusercontent.com/u/14123811?v=3","gravatar_id":"","url":"https://api.github.com/users/cproensa","html_url":"https://github.com/cproensa","followers_url":"https://api.github.com/users/cproensa/followers","following_url":"https://api.github.com/users/cproensa/following{/other_user}","gists_url":"https://api.github.com/users/cproensa/gists{/gist_id}","starred_url":"https://api.github.com/users/cproensa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cproensa/subscriptions","organizations_url":"https://api.github.com/users/cproensa/orgs","repos_url":"https://api.github.com/users/cproensa/repos","events_url":"https://api.github.com/users/cproensa/events{/privacy}","received_events_url":"https://api.github.com/users/cproensa/received_events","type":"User","site_admin":false},"created_at":"2016-01-29T07:20:56Z","updated_at":"2016-01-29T07:20:56Z","body":"Maybe this should be merged at the same time that there is implemented a verification system for newly created accounts?\r\nIn other case, if this option is enabled, a user could register with an existant email address, and would invalidate other user ability to login with email."}}