This repository was archived by the owner on Jul 24, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-21
lines changed
Expand file tree Collapse file tree 1 file changed +2
-21
lines changed Original file line number Diff line number Diff line change @@ -218,31 +218,12 @@ Change the `provider` entry inside the `web` authentication guard:
218218Now add the ` adldap ` provider to your ` providers ` array:
219219
220220``` php
221- /*
222- |--------------------------------------------------------------------------
223- | User Providers
224- |--------------------------------------------------------------------------
225- |
226- | All authentication drivers have a user provider. This defines how the
227- | users are actually retrieved out of your database or other storage
228- | mechanisms used by this application to persist your user's data.
229- |
230- | If you have multiple user tables or models you may configure multiple
231- | sources which represent each model / table. These sources may then
232- | be assigned to any extra authentication guards you have defined.
233- |
234- | Supported: "database", "eloquent"
235- |
236- */
237221'providers' => [
238- 'adldap' => [
239- 'driver' => 'adldap',
240- 'model' => App\User::class,
241- ],
242222 'users' => [
243- 'driver' => 'eloquent',
223+ 'driver' => 'adldap', // Changed from 'eloquent'
244224 'model' => App\User::class,
245225 ],
226+
246227 // 'users' => [
247228 // 'driver' => 'database',
248229 // 'table' => 'users',
You can’t perform that action at this time.
0 commit comments