From a848f15399982aa9d7cce16f21314872bfa9b5fb Mon Sep 17 00:00:00 2001 From: Anatoly Date: Thu, 15 Aug 2019 14:32:38 +0300 Subject: [PATCH] version 0.0.14: change JWTGeneric view attributes --- apps/utils/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/utils/views.py b/apps/utils/views.py index 09dcb78d..2566f41f 100644 --- a/apps/utils/views.py +++ b/apps/utils/views.py @@ -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'])