From 33ecfd7da40a41a2f7c8192c329c4f50f4460a54 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Thu, 4 May 2017 14:39:02 -0700 Subject: [PATCH] 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. --- zerver/views/auth.py | 1 - 1 file changed, 1 deletion(-) diff --git a/zerver/views/auth.py b/zerver/views/auth.py index 16a6747b3f..7eca82b267 100644 --- a/zerver/views/auth.py +++ b/zerver/views/auth.py @@ -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