Skip to content

Commit 388db35

Browse files
committed
more edits
1 parent fd30e09 commit 388db35

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/user-authentication.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,8 @@ to the ``guards`` array:
215215
],
216216
],
217217

218-
Use Laravel Passport with {+odm-short+}
219-
```````````````````````````````````````
218+
Use Laravel Passport with Laravel MongoDB
219+
`````````````````````````````````````````
220220

221221
After installing Laravel Passport, you must enable Passport compatibility with MongoDB by
222222
defining custom {+odm-short+} models that extend the corresponding Passport models.
@@ -247,7 +247,7 @@ After defining a custom model, instruct Passport to use the model in the ``boot`
247247
method of your application's ``App\Providers\AppServiceProvider`` class, as shown
248248
in the following code:
249249

250-
.. literalinclude:: /includes/auth/PersonalAccessToken.php
250+
.. literalinclude:: /includes/auth/AuthServiceProvider.php
251251
:language: php
252252
:emphasize-lines: 6,23
253253
:dedent:

0 commit comments

Comments
 (0)