Commit bbe174e5 by Greg Price Committed by Zia Fazal

Make registration endpoint CSRF exempt

parent ac21f426
...@@ -1429,7 +1429,7 @@ def _do_create_account(post_vars, extended_profile=None): ...@@ -1429,7 +1429,7 @@ def _do_create_account(post_vars, extended_profile=None):
return (user, profile, registration) return (user, profile, registration)
@ensure_csrf_cookie @csrf_exempt
def create_account(request, post_override=None): # pylint: disable-msg=too-many-statements def create_account(request, post_override=None): # pylint: disable-msg=too-many-statements
""" """
JSON call to create new edX account. JSON call to create new edX account.
......
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