Skip to content

Commit

Permalink
docs: update local.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pooya parsa committed May 23, 2019
1 parent 5b54765 commit b09cf61
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/schemes/local.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ auth: {
// Cookie Login flow
// login: { url: '/api/auth/login', method: 'post' },
},

// JWT Login flow (default)
// tokenRequired: true,
// tokenType: 'bearer'

// Cookie Login flow
// tokenRequired: false,
// tokenType: false
Expand All @@ -44,7 +44,7 @@ Each endpoint is used to make requests using axios. They are basically extending
#### `propertyName`

`propertyName` can be used to specify which field of the response JSON to be used for value. **Must be set to `false` to directly use API response** or being more complicated like `auth.user`.
`propertyName` can be used to specify which field of the response JSON to be used for value. It can be `false` to directly use API response or being more complicated like `auth.user`.

### `tokenRequired`

Expand Down

0 comments on commit b09cf61

Please sign in to comment.