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 <michael.g.wood@intel.com> Signed-off-by: brian avery <avery.brian@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
ae7d04832b
commit
55f13d4556
|
@ -69,6 +69,7 @@
|
|||
|
||||
<body style="height: 100%">
|
||||
|
||||
{% csrf_token %}
|
||||
<div id="loading-notification" class="alert lead text-center" style="display:none">
|
||||
Loading <i class="fa-pulse icon-spinner"></i>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue