Skip to content
This repository was archived by the owner on Jul 24, 2023. It is now read-only.

Commit bd21f81

Browse files
committed
Added tip to auth installation
1 parent 857266d commit bd21f81

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docs/auth/installation.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,18 @@ value inside the `users` authentication provider to `ldap`:
7171
],
7272
```
7373

74+
> **Tip**: Now that you've enabled LDAP authentication, you may want to turn off some of
75+
> Laravel's authorization routes such as password resets, registration, and email
76+
> verification.
77+
>
78+
> You can do so in your `routes/web.php` file via:
79+
>
80+
> ```php
81+
> Auth::routes([
82+
> 'reset' => false,
83+
> 'verify' => false,
84+
> 'register' => false,
85+
> ]);
86+
> ```
87+
7488
Now that you've completed the basic installation, let's move along to the [setup guide](setup.md).

0 commit comments

Comments
 (0)