{"action":"created","issue":{"url":"https://api.github.com/repos/nWidart/laravel-modules/issues/422","repository_url":"https://api.github.com/repos/nWidart/laravel-modules","labels_url":"https://api.github.com/repos/nWidart/laravel-modules/issues/422/labels{/name}","comments_url":"https://api.github.com/repos/nWidart/laravel-modules/issues/422/comments","events_url":"https://api.github.com/repos/nWidart/laravel-modules/issues/422/events","html_url":"https://github.com/nWidart/laravel-modules/issues/422","id":273338104,"number":422,"title":"Method validate does not exist.","user":{"login":"bhattraideb","id":4979984,"avatar_url":"https://avatars3.githubusercontent.com/u/4979984?v=4","gravatar_id":"","url":"https://api.github.com/users/bhattraideb","html_url":"https://github.com/bhattraideb","followers_url":"https://api.github.com/users/bhattraideb/followers","following_url":"https://api.github.com/users/bhattraideb/following{/other_user}","gists_url":"https://api.github.com/users/bhattraideb/gists{/gist_id}","starred_url":"https://api.github.com/users/bhattraideb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhattraideb/subscriptions","organizations_url":"https://api.github.com/users/bhattraideb/orgs","repos_url":"https://api.github.com/users/bhattraideb/repos","events_url":"https://api.github.com/users/bhattraideb/events{/privacy}","received_events_url":"https://api.github.com/users/bhattraideb/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-11-13T07:50:24Z","updated_at":"2017-11-13T08:36:46Z","closed_at":"2017-11-13T08:00:38Z","author_association":"NONE","body":"Here is my controller\r\n\r\n```\r\n<?php\r\nnamespace Modules\\Admin\\Http\\Controllers;\r\n\r\nuse Illuminate\\Http\\Request;\r\nuse Illuminate\\Http\\Response;\r\nuse Illuminate\\Routing\\Controller;\r\nuse Illuminate\\Support\\Facades\\Auth;\r\n\r\n\r\nclass AdminLoginController extends Controller\r\n{\r\n    public function __construct()\r\n    {\r\n        $this->middleware('guest:admin');\r\n    }\r\n\r\n    public function showLoginForm()\r\n    {\r\n        return view('admin::login');\r\n    }\r\n\r\n    public function login(Request $request)\r\n    {\r\n        //validate form data\r\n        $this->validate($request, [\r\n            'email' => 'required|email',\r\n        ]);\r\n\r\n        //attempt to log the user in\r\n        if(Auth::guard('admin')->attempt(['email' => $request->email, 'password' => $request->password], $request->remember)){\r\n            return redirect()->intended(route('admin.dashboard'));\r\n        }\r\n    }\r\n```\r\n\r\nThe error I am getting is \"Method [validate] does not exist.\"\r\nDoes anyone faced the same issue? Please share the solution.\r\n"},"comment":{"url":"https://api.github.com/repos/nWidart/laravel-modules/issues/comments/343848210","html_url":"https://github.com/nWidart/laravel-modules/issues/422#issuecomment-343848210","issue_url":"https://api.github.com/repos/nWidart/laravel-modules/issues/422","id":343848210,"user":{"login":"bhattraideb","id":4979984,"avatar_url":"https://avatars3.githubusercontent.com/u/4979984?v=4","gravatar_id":"","url":"https://api.github.com/users/bhattraideb","html_url":"https://github.com/bhattraideb","followers_url":"https://api.github.com/users/bhattraideb/followers","following_url":"https://api.github.com/users/bhattraideb/following{/other_user}","gists_url":"https://api.github.com/users/bhattraideb/gists{/gist_id}","starred_url":"https://api.github.com/users/bhattraideb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhattraideb/subscriptions","organizations_url":"https://api.github.com/users/bhattraideb/orgs","repos_url":"https://api.github.com/users/bhattraideb/repos","events_url":"https://api.github.com/users/bhattraideb/events{/privacy}","received_events_url":"https://api.github.com/users/bhattraideb/received_events","type":"User","site_admin":false},"created_at":"2017-11-13T08:36:46Z","updated_at":"2017-11-13T08:36:46Z","author_association":"NONE","body":"Thanks @nWidart, understood now, working well now.  \r\nCheers! "}}
{"actor":{"display_login":"bhattraideb"}}