Make OAuth token login endpoint CSRF exempt

This commit is contained in:
Greg Price
2014-11-10 15:20:35 -05:00
parent bd87a9dd29
commit 9270c7c77d

View File

@@ -1114,6 +1114,7 @@ def login_user(request, error=""): # pylint: disable-msg=too-many-statements,un
}) # TODO: this should be status code 400 # pylint: disable=fixme
@csrf_exempt
@require_POST
@social_utils.strategy("social:complete")
def login_oauth_token(request, backend):