Laravel say that Auth guard [user] is not defined

I am trying to override default logout button in my Laravel project. so I defined below code in my LoginController->logout() function. but it’s showing that my guard is not defined….

Read more »