fixed NewsList view
This commit is contained in:
parent
4910c23dcc
commit
414370ed73
|
|
@ -106,11 +106,13 @@ class JWTGenericViewMixin(generics.GenericAPIView):
|
|||
return [self.COOKIE(key='access_token',
|
||||
value=_cookies.get('access_token'),
|
||||
http_only=self.ACCESS_TOKEN_HTTP_ONLY,
|
||||
secure=self.ACCESS_TOKEN_SECURE),
|
||||
secure=self.ACCESS_TOKEN_SECURE,
|
||||
max_age=_cookies.get('max_age')),
|
||||
self.COOKIE(key='refresh_token',
|
||||
value=_cookies.get('refresh_token'),
|
||||
http_only=self.REFRESH_TOKEN_HTTP_ONLY,
|
||||
secure=self.REFRESH_TOKEN_SECURE)]
|
||||
secure=self.REFRESH_TOKEN_SECURE,
|
||||
max_age=_cookies.get('max_age'))]
|
||||
|
||||
|
||||
class JWTListAPIView(JWTGenericViewMixin, generics.ListAPIView):
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user