diff --git a/apps/utils/views.py b/apps/utils/views.py index 9af89360..8333b34a 100644 --- a/apps/utils/views.py +++ b/apps/utils/views.py @@ -67,7 +67,7 @@ class JWTGenericViewMixin(generics.GenericAPIView): # todo: remove config for develop from os import environ configuration = environ.get('SETTINGS_CONFIGURATION', None) - if configuration == 'development': + if configuration == 'development' or configuration == 'stage': response.set_cookie(key=cookie.key, value=cookie.value, secure=cookie.secure,