Skip to content

Commit

Permalink
forgot to update documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoor committed Mar 4, 2017
1 parent 5983e57 commit 32067ef
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,6 @@ JWT_AUTH = {
'JWT_REFRESH_EXPIRATION_DELTA': datetime.timedelta(days=7),

'JWT_AUTH_HEADER_PREFIX': 'JWT',
'JWT_AUTH_USER_MODEL': settings.AUTH_USER_MODEL,
'JWT_AUTH_COOKIE': None,

}
Expand Down Expand Up @@ -286,12 +285,6 @@ Another common value used for tokens and Authorization headers is `Bearer`.

Default is `JWT`.


### JWT_AUTH_USER_MODEL
This points the app to default user model. It is used in conjuction with 'JWT_GET_USER_SECRET_KEY'. In most cases default value should be enough.

Default is `settings.AUTH_USER_MODEL`.

### JWT_AUTH_COOKIE
You can set this to a string if you want to use http cookies in addition to the Authorization header as a valid transport for the token.
The string you set here will be used as the cookie name that will be set in the response headers when requesting a token. The token validation
Expand Down

0 comments on commit 32067ef

Please sign in to comment.