From 88495adce55d94869be85daaf1de9ca399065f05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Fri, 8 Feb 2019 15:33:30 +0100 Subject: [PATCH] misc: don't let mellon passive authentication run on services.js (#30488) --- combo/apps/publik/views.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/combo/apps/publik/views.py b/combo/apps/publik/views.py index 8c0babac..ca3dd4a4 100644 --- a/combo/apps/publik/views.py +++ b/combo/apps/publik/views.py @@ -51,3 +51,5 @@ def services_js(request, *args, **kwargs): response_body = '\n'.join( ['var %s = %s;' % (x[0], json.dumps(x[1])) for x in response_vars.items()]) return HttpResponse(response_body, content_type='text/javascript') + +services_js.mellon_no_passive = True