Skip to content

Commit

Permalink
docs(local scheme): clearer understanding of autoFetchUser option (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
JoaoPedroAS51 committed May 19, 2020
1 parent b53d8d3 commit d369e0b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/schemes/local.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,5 +130,8 @@ Authorization header type to be used in axios requests.
- Default: `true`

This option can be used to disable user fetch after login.

> TIP: It is useful when your login response already have the user. To manually set the user, use [setUser](../api/auth.md#setuser-user).
Useful if the login response already have the user. To manually set the user, use [setUser](../api/auth.md#setuser-user).

::: warning IMPORTANT
It doesn't disable user fetch at all, only the one after login. If you don't want to fetch user, set `user` endpoint to `false`.
:::

0 comments on commit d369e0b

Please sign in to comment.