Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Aug 6, 2019
1 parent 68f5c45 commit f58de17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion horizon.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Horizon exposes a dashboard at `/horizon`. By default, you will only be able to
});
}

> {note} Remember that Laravel injects the *authenticated* user to the Gate automatically. If your app is providing Horizon security via another method (perhaps IP restrictions) then your Horizon users might not require login, and therefore you will need to change `function ($user)` above to `function ($user = null)` to not force Laravel authentication.
> {note} Remember that Laravel injects the *authenticated* user to the Gate automatically. If your app is providing Horizon security via another method, such as IP restrictions, then your Horizon users may not need to "login". Therefore, you will need to change `function ($user)` above to `function ($user = null)` to force Laravel to not require authentication.
<a name="running-horizon"></a>
## Running Horizon
Expand Down

0 comments on commit f58de17

Please sign in to comment.