Skip to content
This repository was archived by the owner on May 26, 2020. It is now read-only.

Commit 02baa44

Browse files
Move JSONWebTokenAuthentication up in DEFAULT_AUTHENTICATION_CLASSES (fixes #282)
1 parent 52a7b3f commit 02baa44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ REST_FRAMEWORK = {
5959
'rest_framework.permissions.IsAuthenticated',
6060
),
6161
'DEFAULT_AUTHENTICATION_CLASSES': (
62+
'rest_framework_jwt.authentication.JSONWebTokenAuthentication',
6263
'rest_framework.authentication.SessionAuthentication',
6364
'rest_framework.authentication.BasicAuthentication',
64-
'rest_framework_jwt.authentication.JSONWebTokenAuthentication',
6565
),
6666
}
6767
```

0 commit comments

Comments
 (0)