version 0.0.14: change JWTGeneric view attributes

This commit is contained in:
Anatoly 2019-08-15 14:32:38 +03:00
parent 2fc2b7daed
commit a848f15399

View File

@ -11,10 +11,10 @@ from rest_framework import status
class JWTGenericViewMixin(generics.GenericAPIView):
"""JWT view mixin"""
ACCESS_TOKEN_HTTP_ONLY = True
ACCESS_TOKEN_HTTP_ONLY = False
ACCESS_TOKEN_SECURE = False
REFRESH_TOKEN_HTTP_ONLY = True
REFRESH_TOKEN_HTTP_ONLY = False
REFRESH_TOKEN_SECURE = False
COOKIE = namedtuple('COOKIE', ['key', 'value', 'http_only', 'secure'])