Skip to content

Commit 27db557

Browse files
authored
docs: improve comment
1 parent 924c89c commit 27db557

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Controllers/LoginController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ protected function getValidationRules(): array
102102
public function logoutAction(): RedirectResponse
103103
{
104104
// Capture logout redirect URL before auth logout,
105-
// otherwise 'Call to a member function inGroup() on null' is thrown
105+
// otherwise you cannot check the user in `logoutRedirect()`.
106106
$url = config('Auth')->logoutRedirect();
107107

108108
auth()->logout();

0 commit comments

Comments
 (0)