From 55f13d45561f0e14e38bb79203404a06bb91786b Mon Sep 17 00:00:00 2001 From: Michael Wood Date: Tue, 18 Aug 2015 15:32:52 -0700 Subject: bitbake: toastergui: Call csrf function in all pages to ensure cookie is sent Not all pages call the csrf token template function so django does not bother to send the cookike, this meant that all subsequent ajax calls fail. So add this to the base template. [YOCTO #8175] (Bitbake rev: baed115081f888e027f92f37e12dc2dd2b874bf0) Signed-off-by: Michael Wood Signed-off-by: brian avery Signed-off-by: Richard Purdie --- bitbake/lib/toaster/toastergui/templates/base.html | 1 + 1 file changed, 1 insertion(+) (limited to 'bitbake/lib/toaster/toastergui/templates/base.html') diff --git a/bitbake/lib/toaster/toastergui/templates/base.html b/bitbake/lib/toaster/toastergui/templates/base.html index d75bf16bf2..f187100264 100644 --- a/bitbake/lib/toaster/toastergui/templates/base.html +++ b/bitbake/lib/toaster/toastergui/templates/base.html @@ -69,6 +69,7 @@ + {% csrf_token %} -- cgit v1.2.3-54-g00ecf