Skip to content

Commit 77adfcd

Browse files
committed
authentication - check
1 parent 0e2bb6e commit 77adfcd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/authentication.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,11 +146,11 @@ $credentials = [
146146
$validCreds = auth()->check($credentials);
147147

148148
if (! $validCreds->isOK()) {
149-
return redirect()->back()->with('error', $loginAttempt->reason());
149+
return redirect()->back()->with('error', $validCreds->reason());
150150
}
151151
```
152152

153-
The Result instance returned contains the logged in user as `extraInfo()`.
153+
The Result instance returned contains the valid user as `extraInfo()`.
154154

155155
### loggedIn()
156156

0 commit comments

Comments
 (0)