auth: Remove require_GET for api_get_auth_backends.

Unfortunately, the Android app incorrectly uses POST with this
endpoint, so the recent change to add this needs to be reverted.
This commit is contained in:
Tim Abbott
2017-05-04 14:39:02 -07:00
parent 92dd76822f
commit 33ecfd7da4

View File

@@ -547,7 +547,6 @@ def get_auth_backends_data(request):
"github": github_auth_enabled(realm),
"google": google_auth_enabled(realm)}
@require_GET
@csrf_exempt
def api_get_auth_backends(request):
# type: (HttpRequest) -> HttpResponse