Commit 8d44c76e by Greg Price Committed by David Baumgold

Make registration endpoint CSRF exempt

parent 7df50a16
...@@ -1428,7 +1428,7 @@ def _do_create_account(post_vars, extended_profile=None): ...@@ -1428,7 +1428,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