We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 49e4f9a + d0a3582 commit 0c9a857Copy full SHA for 0c9a857
src/app/Http/Controllers/Auth/LoginController.php
@@ -63,18 +63,14 @@ public function username()
63
}
64
65
/**
66
- * Log the user out and redirect him to specific location.
+ * The user has logged out of the application.
67
*
68
* @param \Illuminate\Http\Request $request
69
70
- * @return \Illuminate\Http\Response
+ * @return mixed
71
*/
72
- public function logout(Request $request)
+ protected function loggedOut(Request $request)
73
{
74
- // Do the default logout procedure
75
- $this->guard()->logout();
76
-
77
- // And redirect to custom location
78
return redirect($this->redirectAfterLogout);
79
80
0 commit comments