mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 12:33:40 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user