File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed File renamed without changes.
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ User Authentication
14
14
.. contents:: On this page
15
15
:local:
16
16
:backlinks: none
17
- :depth: 1
17
+ :depth: 2
18
18
:class: singlecol
19
19
20
20
Overview
@@ -120,7 +120,7 @@ uses Laravel's cookie-based authentication services.
120
120
Run the following commands from your project root to install Laravel Sanctum,
121
121
then publish and run its migration files:
122
122
123
- .. code-block:: php
123
+ .. code-block:: bash
124
124
125
125
composer require laravel/sanctum
126
126
php artisan vendor:publish --provider="Laravel\Sanctum\SanctumServiceProvider"
@@ -130,8 +130,8 @@ then publish and run its migration files:
130
130
131
131
To learn more about installing and configuring Laravel Sanctum, see the
132
132
`Installation <https://laravel.com/docs/{+laravel-docs-version+}/sanctum#installation>`__
133
- section of the Laravel Sanctum guide.
134
-
133
+ section of the Laravel Sanctum guide.
134
+
135
135
To use Laravel Sanctum with {+odm-short+}, you must modify the ``PersonalAccessToken``
136
136
model provided by Sanctum.
137
137
You can’t perform that action at this time.
0 commit comments