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

Commit 7489cff

Browse files
committed
Clarify how to configure session authentication
1 parent 1fe1299 commit 7489cff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,13 @@ Check https://github.com/prisma/graphql-playground#properties for the allowed co
7272
### Configure session authentication
7373

7474
Session based authentication can be used with [Laravel Sanctum](https://laravel.com/docs/sanctum).
75-
If you use GraphQL through sessions and CSRF, add the following to the header:
75+
If you use GraphQL through sessions and CSRF, add the following to the `<head>`:
7676

7777
```php
7878
<meta name="csrf-token" content="{{ csrf_token() }}">
7979
```
8080

81-
Modify the Playground config like so:
81+
Modify the Playground config in the published view like so:
8282

8383
```diff
8484
GraphQLPlayground.init(root, {

0 commit comments

Comments
 (0)