Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/addons/jwt.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ class LoginController extends BaseController
You could send a request with the existing user's credentials by curl like this:

```console
$ curl --location 'http://localhost:8080/auth/jwt' \
curl --location 'http://localhost:8080/auth/jwt' \
--header 'Content-Type: application/json' \
--data-raw '{"email" : "[email protected]" , "password" : "passw0rd!"}'
```
Expand All @@ -257,7 +257,7 @@ would use the `$filters` setting on **app/Config/Filters.php**.

```php
public $filters = [
'jwt' => ['before' => ['api/*']],
'jwt' => ['before' => ['api', 'api/*']],
];
```

Expand Down