mirror of https://github.com/zulip/zulip.git
auth: Add logging for which client does /server_settings requests.
This is generally helpful for debugging.
This commit is contained in:
parent
88368996fb
commit
2a39852e91
|
@ -851,6 +851,8 @@ def check_server_incompatibility(request: HttpRequest) -> bool:
|
|||
@require_GET
|
||||
@csrf_exempt
|
||||
def api_get_server_settings(request: HttpRequest) -> HttpResponse:
|
||||
# Log which client is making this request.
|
||||
process_client(request, request.user, skip_update_user_activity=True)
|
||||
result = dict(
|
||||
authentication_methods=get_auth_backends_data(request),
|
||||
zulip_version=ZULIP_VERSION,
|
||||
|
|
Loading…
Reference in New Issue