{"action":"created","issue":{"url":"https://api.github.com/repos/ARCANEDEV/Localization/issues/61","repository_url":"https://api.github.com/repos/ARCANEDEV/Localization","labels_url":"https://api.github.com/repos/ARCANEDEV/Localization/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/ARCANEDEV/Localization/issues/61/comments","events_url":"https://api.github.com/repos/ARCANEDEV/Localization/issues/61/events","html_url":"https://github.com/ARCANEDEV/Localization/issues/61","id":180866241,"number":61,"title":"Auth Login POST (with wrong credentials) redirects to home?","user":{"login":"thusfar7","id":19975735,"avatar_url":"https://avatars.githubusercontent.com/u/19975735?v=3","gravatar_id":"","url":"https://api.github.com/users/thusfar7","html_url":"https://github.com/thusfar7","followers_url":"https://api.github.com/users/thusfar7/followers","following_url":"https://api.github.com/users/thusfar7/following{/other_user}","gists_url":"https://api.github.com/users/thusfar7/gists{/gist_id}","starred_url":"https://api.github.com/users/thusfar7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thusfar7/subscriptions","organizations_url":"https://api.github.com/users/thusfar7/orgs","repos_url":"https://api.github.com/users/thusfar7/repos","events_url":"https://api.github.com/users/thusfar7/events{/privacy}","received_events_url":"https://api.github.com/users/thusfar7/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ARCANEDEV/Localization/labels/duplicate","name":"duplicate","color":"cccccc"},{"url":"https://api.github.com/repos/ARCANEDEV/Localization/labels/need%20help","name":"need help","color":"d4c5f9"}],"state":"open","locked":false,"assignee":{"login":"arcanedev-maroc","id":3282340,"avatar_url":"https://avatars.githubusercontent.com/u/3282340?v=3","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},"assignees":[{"login":"arcanedev-maroc","id":3282340,"avatar_url":"https://avatars.githubusercontent.com/u/3282340?v=3","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}],"milestone":null,"comments":4,"created_at":"2016-10-04T11:19:00Z","updated_at":"2016-10-04T22:04:53Z","closed_at":null,"body":"I localized all Auth routes.\r\n\r\nWhen I go to Login and enter wrong credentials and submit it, I get redirected to home route? Any ideas or suggestion to why this might be happening?\r\n\r\n\r\n```php\r\n$router->group([\r\n    'prefix'     => Localization::setLocale(),\r\n    'middleware' => [\r\n        'web',\r\n        'localization-session-redirect',\r\n        'localization-redirect',\r\n    ],\r\n], function($router) {\r\n    $router->group([\r\n            'as'        => 'auth::',\r\n            'namespace' => 'Auth',\r\n        ], \r\n        function ($router) {\r\n            // Authentication Routes...\r\n            $router->group(['prefix' => 'login', 'as' => 'login.'], function ($router) {\r\n                // auth::login.get\r\n                $router->get('/',  ['as' => 'get',  'uses' => 'LoginController@showLoginForm']);\r\n                // auth::login.post\r\n                $router->post('/', ['as' => 'post', 'uses' => 'LoginController@login']);\r\n            });\r\n\r\n            // auth::logout\r\n            $router->get('logout', ['as' => 'logout', 'uses' => 'LoginController@logout']);\r\n\r\n            // Registration Routes...\r\n            $router->group(['prefix' => 'register', 'as' => 'register.'], function ($router) {\r\n                // auth::register.get\r\n                $router->get('/',  ['as' => 'get',  'uses' => 'RegisterController@showRegistrationForm']);\r\n                // auth::register.post\r\n                $router->post('/', ['as' => 'post', 'uses' => 'RegisterController@register']);\r\n            });\r\n        }\r\n    );\r\n});\r\n```"},"comment":{"url":"https://api.github.com/repos/ARCANEDEV/Localization/issues/comments/251527438","html_url":"https://github.com/ARCANEDEV/Localization/issues/61#issuecomment-251527438","issue_url":"https://api.github.com/repos/ARCANEDEV/Localization/issues/61","id":251527438,"user":{"login":"thusfar7","id":19975735,"avatar_url":"https://avatars.githubusercontent.com/u/19975735?v=3","gravatar_id":"","url":"https://api.github.com/users/thusfar7","html_url":"https://github.com/thusfar7","followers_url":"https://api.github.com/users/thusfar7/followers","following_url":"https://api.github.com/users/thusfar7/following{/other_user}","gists_url":"https://api.github.com/users/thusfar7/gists{/gist_id}","starred_url":"https://api.github.com/users/thusfar7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thusfar7/subscriptions","organizations_url":"https://api.github.com/users/thusfar7/orgs","repos_url":"https://api.github.com/users/thusfar7/repos","events_url":"https://api.github.com/users/thusfar7/events{/privacy}","received_events_url":"https://api.github.com/users/thusfar7/received_events","type":"User","site_admin":false},"created_at":"2016-10-04T22:04:53Z","updated_at":"2016-10-04T22:04:53Z","body":"I use 5.2. My auth routes look the same as in #58 as well as login view. Still it doesnt work."}}
{"actor":{"display_login":"thusfar7"}}