Make registration endpoint CSRF exempt

This commit is contained in:
Greg Price
2015-02-09 12:13:35 -05:00
committed by Adam Palay
parent 89d4749057
commit 12f89b3c2d

View File

@@ -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.