diff --git a/nsfw/views.py b/nsfw/views.py index 6415dcc..073b668 100644 --- a/nsfw/views.py +++ b/nsfw/views.py @@ -44,7 +44,7 @@ def enable_view(request, max_age): else: response.set_cookie( settings.KHAGANAT_NSFW_NAME, - 'true', + settings.KHAGANAT_NSFW_OK[0], max_age=max_age ) return response