Make registration endpoint CSRF exempt
This commit is contained in:
@@ -1370,7 +1370,7 @@ def _do_create_account(post_vars, extended_profile=None):
|
||||
return (user, profile, registration)
|
||||
|
||||
|
||||
@ensure_csrf_cookie
|
||||
@csrf_exempt
|
||||
def create_account(request, post_override=None): # pylint: disable-msg=too-many-statements
|
||||
"""
|
||||
JSON call to create new edX account.
|
||||
|
||||
Reference in New Issue
Block a user