context: Rename social_backends to external_authentication_methods.

The main purpose of this is to make that name change happen in
/server_settings. external_authentication_methods is a much better, more
descriptive name than social_backends from API perspective.
This commit is contained in:
Mateusz Mandera
2019-11-03 23:51:49 +01:00
committed by Tim Abbott
parent a62d084247
commit 34a540bacb
7 changed files with 23 additions and 21 deletions

View File

@@ -837,7 +837,7 @@ def api_get_server_settings(request: HttpRequest) -> HttpResponse:
"realm_name",
"realm_icon",
"realm_description",
"social_backends"]:
"external_authentication_methods"]:
if context[settings_item] is not None:
result[settings_item] = context[settings_item]
return json_success(result)