Commit 12f89b3c by Greg Price Committed by Adam Palay

Make registration endpoint CSRF exempt

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