{"action":"created","issue":{"url":"https://api.github.com/repos/ARCANEDEV/LogViewer/issues/212","repository_url":"https://api.github.com/repos/ARCANEDEV/LogViewer","labels_url":"https://api.github.com/repos/ARCANEDEV/LogViewer/issues/212/labels{/name}","comments_url":"https://api.github.com/repos/ARCANEDEV/LogViewer/issues/212/comments","events_url":"https://api.github.com/repos/ARCANEDEV/LogViewer/issues/212/events","html_url":"https://github.com/ARCANEDEV/LogViewer/issues/212","id":323061180,"number":212,"title":"Problem using middleware","user":{"login":"jjpotestad","id":39230430,"avatar_url":"https://avatars0.githubusercontent.com/u/39230430?v=4","gravatar_id":"","url":"https://api.github.com/users/jjpotestad","html_url":"https://github.com/jjpotestad","followers_url":"https://api.github.com/users/jjpotestad/followers","following_url":"https://api.github.com/users/jjpotestad/following{/other_user}","gists_url":"https://api.github.com/users/jjpotestad/gists{/gist_id}","starred_url":"https://api.github.com/users/jjpotestad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjpotestad/subscriptions","organizations_url":"https://api.github.com/users/jjpotestad/orgs","repos_url":"https://api.github.com/users/jjpotestad/repos","events_url":"https://api.github.com/users/jjpotestad/events{/privacy}","received_events_url":"https://api.github.com/users/jjpotestad/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-15T04:17:52Z","updated_at":"2018-05-16T19:14:17Z","closed_at":null,"author_association":"NONE","body":"- LogViewer Version: 4.4.2\r\n- Laravel Version: 5.5.40\r\n- PHP Version: 7.1.9\r\n\r\n### Description:\r\nI have a problem using middleware. If I write to the .env file \r\n\r\nARCANEDEV_LOGVIEWER_MIDDLEWARE=auth\r\n\r\nthen it will not let me enter the log-viewer\r\n\r\n### Steps To Reproduce:\r\n1-) Install log-viewer\r\n2-) configure log-viewer with route setting \r\n```php\r\n'route'         => [\r\n    'enabled'    => true,\r\n    'attributes' => [\r\n        'prefix'     => 'logging',\r\n        'middleware' => env('ARCANEDEV_LOGVIEWER_MIDDLEWARE') ? explode(',', env('ARCANEDEV_LOGVIEWER_MIDDLEWARE')) : null,\r\n    ],\r\n],\r\n```\r\n3-) Write to the .env file\r\n```\r\nAPP_LOG_LEVEL=info\r\nAPP_LOG=daily\r\nARCANEDEV_LOGVIEWER_MIDDLEWARE=auth\r\n```"},"comment":{"url":"https://api.github.com/repos/ARCANEDEV/LogViewer/issues/comments/389633675","html_url":"https://github.com/ARCANEDEV/LogViewer/issues/212#issuecomment-389633675","issue_url":"https://api.github.com/repos/ARCANEDEV/LogViewer/issues/212","id":389633675,"user":{"login":"arcanedev-maroc","id":3282340,"avatar_url":"https://avatars1.githubusercontent.com/u/3282340?v=4","gravatar_id":"","url":"https://api.github.com/users/arcanedev-maroc","html_url":"https://github.com/arcanedev-maroc","followers_url":"https://api.github.com/users/arcanedev-maroc/followers","following_url":"https://api.github.com/users/arcanedev-maroc/following{/other_user}","gists_url":"https://api.github.com/users/arcanedev-maroc/gists{/gist_id}","starred_url":"https://api.github.com/users/arcanedev-maroc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arcanedev-maroc/subscriptions","organizations_url":"https://api.github.com/users/arcanedev-maroc/orgs","repos_url":"https://api.github.com/users/arcanedev-maroc/repos","events_url":"https://api.github.com/users/arcanedev-maroc/events{/privacy}","received_events_url":"https://api.github.com/users/arcanedev-maroc/received_events","type":"User","site_admin":false},"created_at":"2018-05-16T19:14:17Z","updated_at":"2018-05-16T19:14:17Z","author_association":"MEMBER","body":"You've changed the route **prefix**. Did you check this URL: `http://your-project.test/logging`\r\n\r\n**NOTE:** You've installed an incorrect version, check this section https://github.com/ARCANEDEV/LogViewer/blob/master/_docs/1.Installation-and-Setup.md#version-compatibility"}}
{"actor":{"display_login":"arcanedev-maroc"}}