{"action":"created","issue":{"url":"https://api.github.com/repos/rappasoft/laravel-5-boilerplate/issues/61","labels_url":"https://api.github.com/repos/rappasoft/laravel-5-boilerplate/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/rappasoft/laravel-5-boilerplate/issues/61/comments","events_url":"https://api.github.com/repos/rappasoft/laravel-5-boilerplate/issues/61/events","html_url":"https://github.com/rappasoft/laravel-5-boilerplate/issues/61","id":101523691,"number":61,"title":"Enhancement: How would I let users log in using either their username or email from a single input field?","user":{"login":"mbsvpn","id":13810696,"avatar_url":"https://avatars.githubusercontent.com/u/13810696?v=3","gravatar_id":"","url":"https://api.github.com/users/mbsvpn","html_url":"https://github.com/mbsvpn","followers_url":"https://api.github.com/users/mbsvpn/followers","following_url":"https://api.github.com/users/mbsvpn/following{/other_user}","gists_url":"https://api.github.com/users/mbsvpn/gists{/gist_id}","starred_url":"https://api.github.com/users/mbsvpn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbsvpn/subscriptions","organizations_url":"https://api.github.com/users/mbsvpn/orgs","repos_url":"https://api.github.com/users/mbsvpn/repos","events_url":"https://api.github.com/users/mbsvpn/events{/privacy}","received_events_url":"https://api.github.com/users/mbsvpn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-17T22:29:58Z","updated_at":"2015-08-26T18:15:41Z","closed_at":"2015-08-26T18:15:41Z","body":"How would I let users log in using either their username or email from a single input field?"},"comment":{"url":"https://api.github.com/repos/rappasoft/laravel-5-boilerplate/issues/comments/135128478","html_url":"https://github.com/rappasoft/laravel-5-boilerplate/issues/61#issuecomment-135128478","issue_url":"https://api.github.com/repos/rappasoft/laravel-5-boilerplate/issues/61","id":135128478,"user":{"login":"rappasoft","id":6026504,"avatar_url":"https://avatars.githubusercontent.com/u/6026504?v=3","gravatar_id":"","url":"https://api.github.com/users/rappasoft","html_url":"https://github.com/rappasoft","followers_url":"https://api.github.com/users/rappasoft/followers","following_url":"https://api.github.com/users/rappasoft/following{/other_user}","gists_url":"https://api.github.com/users/rappasoft/gists{/gist_id}","starred_url":"https://api.github.com/users/rappasoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rappasoft/subscriptions","organizations_url":"https://api.github.com/users/rappasoft/orgs","repos_url":"https://api.github.com/users/rappasoft/repos","events_url":"https://api.github.com/users/rappasoft/events{/privacy}","received_events_url":"https://api.github.com/users/rappasoft/received_events","type":"User","site_admin":false},"created_at":"2015-08-26T18:15:41Z","updated_at":"2015-08-26T18:15:41Z","body":"You will have to alter App\\Repositories\\Frontend\\Auth\\EloquentAuthenticationController@login to not use laravel Guard's default login functionality, which uses e-mail, but instead make you own that checks for either username or email address.\r\n\r\nI can make this in a later release."}}