{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/laravel/issues/3575","labels_url":"https://api.github.com/repos/laravel/laravel/issues/3575/labels{/name}","comments_url":"https://api.github.com/repos/laravel/laravel/issues/3575/comments","events_url":"https://api.github.com/repos/laravel/laravel/issues/3575/events","html_url":"https://github.com/laravel/laravel/pull/3575","id":119093957,"number":3575,"title":"Removed the hard-coded paths from the Auth Middlewares","user":{"login":"shiruken1","id":10102394,"avatar_url":"https://avatars.githubusercontent.com/u/10102394?v=3","gravatar_id":"","url":"https://api.github.com/users/shiruken1","html_url":"https://github.com/shiruken1","followers_url":"https://api.github.com/users/shiruken1/followers","following_url":"https://api.github.com/users/shiruken1/following{/other_user}","gists_url":"https://api.github.com/users/shiruken1/gists{/gist_id}","starred_url":"https://api.github.com/users/shiruken1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shiruken1/subscriptions","organizations_url":"https://api.github.com/users/shiruken1/orgs","repos_url":"https://api.github.com/users/shiruken1/repos","events_url":"https://api.github.com/users/shiruken1/events{/privacy}","received_events_url":"https://api.github.com/users/shiruken1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-26T19:21:06Z","updated_at":"2015-11-26T19:26:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/laravel/laravel/pulls/3575","html_url":"https://github.com/laravel/laravel/pull/3575","diff_url":"https://github.com/laravel/laravel/pull/3575.diff","patch_url":"https://github.com/laravel/laravel/pull/3575.patch"},"body":"Hey y'all!\r\n\r\nFirst PR :)\r\n\r\nI believe these few changes make the system more flexible, as the login and redirect paths can now be set in the AuthController, along with all the other paths.\r\n\r\nPlease let me know if I missed something obvious in the docs, or if there's a more elegant way to do this.\r\n\r\nHappy thanksgiving!"},"comment":{"url":"https://api.github.com/repos/laravel/laravel/issues/comments/159981889","html_url":"https://github.com/laravel/laravel/pull/3575#issuecomment-159981889","issue_url":"https://api.github.com/repos/laravel/laravel/issues/3575","id":159981889,"user":{"login":"lukepolo","id":2066668,"avatar_url":"https://avatars.githubusercontent.com/u/2066668?v=3","gravatar_id":"","url":"https://api.github.com/users/lukepolo","html_url":"https://github.com/lukepolo","followers_url":"https://api.github.com/users/lukepolo/followers","following_url":"https://api.github.com/users/lukepolo/following{/other_user}","gists_url":"https://api.github.com/users/lukepolo/gists{/gist_id}","starred_url":"https://api.github.com/users/lukepolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukepolo/subscriptions","organizations_url":"https://api.github.com/users/lukepolo/orgs","repos_url":"https://api.github.com/users/lukepolo/repos","events_url":"https://api.github.com/users/lukepolo/events{/privacy}","received_events_url":"https://api.github.com/users/lukepolo/received_events","type":"User","site_admin":false},"created_at":"2015-11-26T19:26:37Z","updated_at":"2015-11-26T19:26:37Z","body":"Can't you just do this \r\n\r\nFrom the auth docs \r\n\r\nWhen a user is successfully authenticated, they will be redirected to the /home URI, which you will need to register a route to handle. You can customize the post-authentication redirect location by defining a redirectPath property on the AuthController:\r\n\r\nprotected $redirectPath = '/dashboard';\r\n"}}