Skip to content

Commit 0c9a857

Browse files
committed
Merge branch 'lj3lj3-lj3lj3-patch-overwrite-loggedOut'
2 parents 49e4f9a + d0a3582 commit 0c9a857

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

src/app/Http/Controllers/Auth/LoginController.php

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,18 +63,14 @@ public function username()
6363
}
6464

6565
/**
66-
* Log the user out and redirect him to specific location.
66+
* The user has logged out of the application.
6767
*
6868
* @param \Illuminate\Http\Request $request
6969
*
70-
* @return \Illuminate\Http\Response
70+
* @return mixed
7171
*/
72-
public function logout(Request $request)
72+
protected function loggedOut(Request $request)
7373
{
74-
// Do the default logout procedure
75-
$this->guard()->logout();
76-
77-
// And redirect to custom location
7874
return redirect($this->redirectAfterLogout);
7975
}
8076

0 commit comments

Comments
 (0)