{"action":"created","issue":{"url":"https://api.github.com/repos/nWidart/laravel-modules/issues/204","repository_url":"https://api.github.com/repos/nWidart/laravel-modules","labels_url":"https://api.github.com/repos/nWidart/laravel-modules/issues/204/labels{/name}","comments_url":"https://api.github.com/repos/nWidart/laravel-modules/issues/204/comments","events_url":"https://api.github.com/repos/nWidart/laravel-modules/issues/204/events","html_url":"https://github.com/nWidart/laravel-modules/issues/204","id":222885743,"number":204,"title":"L5.4 default Auth middleware dosen't work","user":{"login":"elephantux","id":3984856,"avatar_url":"https://avatars1.githubusercontent.com/u/3984856?v=3","gravatar_id":"","url":"https://api.github.com/users/elephantux","html_url":"https://github.com/elephantux","followers_url":"https://api.github.com/users/elephantux/followers","following_url":"https://api.github.com/users/elephantux/following{/other_user}","gists_url":"https://api.github.com/users/elephantux/gists{/gist_id}","starred_url":"https://api.github.com/users/elephantux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elephantux/subscriptions","organizations_url":"https://api.github.com/users/elephantux/orgs","repos_url":"https://api.github.com/users/elephantux/repos","events_url":"https://api.github.com/users/elephantux/events{/privacy}","received_events_url":"https://api.github.com/users/elephantux/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-04-19T22:03:38Z","updated_at":"2017-04-20T08:23:36Z","closed_at":null,"body":"File: /Modules/News/Http/routes.php\r\n```\r\nRoute::group([\r\n    'namespace' => 'Modules\\News\\Http\\Controllers\\Admin',\r\n    'prefix' => 'admin',\r\n    'as' => 'admin.',\r\n    'middleware' => ['auth', 'force_locale']\r\n], function () {\r\n\r\n    Route::get('/news', ['as' => 'news.index', function () {\r\n        dd(123);\r\n    }]);\r\n\r\n});\r\n```\r\nIn main route if I check Auth::check() (user logged in) it return true, in module/routes it always false. Where  is the my mistake?"},"comment":{"url":"https://api.github.com/repos/nWidart/laravel-modules/issues/comments/295630135","html_url":"https://github.com/nWidart/laravel-modules/issues/204#issuecomment-295630135","issue_url":"https://api.github.com/repos/nWidart/laravel-modules/issues/204","id":295630135,"user":{"login":"elephantux","id":3984856,"avatar_url":"https://avatars1.githubusercontent.com/u/3984856?v=3","gravatar_id":"","url":"https://api.github.com/users/elephantux","html_url":"https://github.com/elephantux","followers_url":"https://api.github.com/users/elephantux/followers","following_url":"https://api.github.com/users/elephantux/following{/other_user}","gists_url":"https://api.github.com/users/elephantux/gists{/gist_id}","starred_url":"https://api.github.com/users/elephantux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elephantux/subscriptions","organizations_url":"https://api.github.com/users/elephantux/orgs","repos_url":"https://api.github.com/users/elephantux/repos","events_url":"https://api.github.com/users/elephantux/events{/privacy}","received_events_url":"https://api.github.com/users/elephantux/received_events","type":"User","site_admin":false},"created_at":"2017-04-20T08:23:36Z","updated_at":"2017-04-20T08:23:36Z","body":"In `Modules/News/Http/Controllers/NewsController.php` `Auth::check();` return true.\r\nCan't understand why 'auth' middleware return false"}}
{"actor":{"display_login":"elephantux"}}