Commit ae81009a by John Jarvis

Changing edx marketing site cookie value to 'true'

parent 57dd2e72
...@@ -423,7 +423,7 @@ def login_user(request, error=""): ...@@ -423,7 +423,7 @@ def login_user(request, error=""):
expires = cookie_date(expires_time) expires = cookie_date(expires_time)
response.set_cookie(settings.EDXMKTG_COOKIE_NAME, response.set_cookie(settings.EDXMKTG_COOKIE_NAME,
request.session.session_key, max_age=max_age, 'true', max_age=max_age,
expires=expires, domain=settings.SESSION_COOKIE_DOMAIN, expires=expires, domain=settings.SESSION_COOKIE_DOMAIN,
path=settings.SESSION_COOKIE_PATH, path=settings.SESSION_COOKIE_PATH,
secure=settings.SESSION_COOKIE_SECURE or None, secure=settings.SESSION_COOKIE_SECURE or None,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment