mirror of
https://github.com/fergalmoran/dss.api.git
synced 2026-01-03 15:13:57 +00:00
JWT implemented and hopefully more stable logins
This commit is contained in:
@@ -201,7 +201,9 @@ REST_FRAMEWORK = {
|
||||
'rest_framework.filters.OrderingFilter',
|
||||
),
|
||||
'DEFAULT_AUTHENTICATION_CLASSES': (
|
||||
'rest_framework.authentication.TokenAuthentication',
|
||||
'rest_framework.authentication.SessionAuthentication',
|
||||
'rest_framework.authentication.BasicAuthentication',
|
||||
'rest_framework_jwt.authentication.JSONWebTokenAuthentication',
|
||||
),
|
||||
'PAGINATE_BY': 12, # Default to 10
|
||||
'PAGINATE_BY_PARAM': 'limit', # Allow client to override, using `?page_size=xxx`.
|
||||
|
||||
Reference in New Issue
Block a user