File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -178,7 +178,6 @@ JWT_AUTH = {
178
178
' JWT_REFRESH_EXPIRATION_DELTA' : datetime.timedelta(days = 7 ),
179
179
180
180
' JWT_AUTH_HEADER_PREFIX' : ' JWT' ,
181
- ' JWT_AUTH_USER_MODEL' : settings.AUTH_USER_MODEL ,
182
181
' JWT_AUTH_COOKIE' : None ,
183
182
184
183
}
@@ -286,12 +285,6 @@ Another common value used for tokens and Authorization headers is `Bearer`.
286
285
287
286
Default is ` JWT ` .
288
287
289
-
290
- ### JWT_AUTH_USER_MODEL
291
- 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.
292
-
293
- Default is ` settings.AUTH_USER_MODEL ` .
294
-
295
288
### JWT_AUTH_COOKIE
296
289
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.
297
290
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
You can’t perform that action at this time.
0 commit comments