Occasional CSRF cookie not set django 1.11 -> 2.1

2019-05-21 Thread Yusuf Musleh
Hello, We recently migrated from django 1.11.5 to 2.1.4. We performed all the necessary changes needed for the migration and the application to work, things went smoothly except for some CSRF validation issues. After the migration on our production server we noticed an increase in the number of

Re: Occasional CSRF cookie not set django 1.11 -> 2.1

2019-05-22 Thread Yusuf Musleh
CSRF in hidden form > field. > > Regards, > > Aldian Fazrihady > https://www.aldianfazrihady.com/en-us/ > > On Wed, 22 May 2019, 04:52 Yusuf Musleh, > > wrote: > >> Hello, >> >> We recently migrated from django 1.11.5 to 2.1.4. We performed all the

Re: Occasional CSRF cookie not set django 1.11 -> 2.1

2019-05-22 Thread Yusuf Musleh
On Wednesday, May 22, 2019 at 3:09:40 PM UTC+3, Aldian Fazrihady wrote: > > Yusuf, did you use > CSRF_COOKIE_SECURE = True > and access the website using http instead of https? > > https://stackoverflow.com/questions/17716624/django-csrf-cookie-not-set > > On Wed, May 22