21158466 openstack_auth login page needs cookies (fix patch)
authorAndrew Balfour <Andrew.Balfour@Oracle.COM>
Mon, 22 Jun 2015 16:32:00 -0700
changeset 4517 61dba4b40cd4
parent 4516 50b76d78389e
child 4518 9d8f9947b371
21158466 openstack_auth login page needs cookies (fix patch)
components/python/django_openstack_auth/patches/01-set-test-cookie.patch
--- a/components/python/django_openstack_auth/patches/01-set-test-cookie.patch	Mon Jun 22 15:34:05 2015 -0700
+++ b/components/python/django_openstack_auth/patches/01-set-test-cookie.patch	Mon Jun 22 16:32:00 2015 -0700
@@ -10,7 +10,7 @@
          elif len(self.fields['region'].choices) > 1:
              self.fields['region'].initial = self.request.COOKIES.get(
                  'login_region')
-+    self.request.session.set_test_cookie()
++        self.request.session.set_test_cookie()
 
      @staticmethod
      def get_region_choices():