Skip to content

Commit 67b14ad

Browse files
authored
Merge pull request #421 from arif-rh/minor-fix
Minor fix for docs
2 parents fddcd5b + 77adfcd commit 67b14ad

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
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

docs/quickstart.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,7 @@ if ($user->inGroup('admin', 'beta')) {
254254

255255
## Managing Users
256256

257-
Shield uses a more complex user setup than many other systems, separating [User Identities](concepts.md#identities) from the user accounts themselves. This quick overview should help you feel more confident when working with users on a day-to-day basis.
258-
Since Shield uses a more complex user setup than many other systems, due to the [User Identities](concepts.md#user-identities), this quick overview should help you feel more confident when working with users on a day-to-day basis.
257+
Since Shield uses a more complex user setup than many other systems, separating [User Identities](concepts.md#user-identities) from the user accounts themselves. This quick overview should help you feel more confident when working with users on a day-to-day basis.
259258

260259
### Creating Users
261260

0 commit comments

Comments
 (0)