Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Do not expose the experimental appservice login flow to clients. #8440

Merged
merged 1 commit into from
Oct 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/8440.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Do not expose the experimental `uk.half-shot.msc2778.login.application_service` flow in the login API.
2 changes: 0 additions & 2 deletions synapse/rest/client/v1/login.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,6 @@ def on_GET(self, request: SynapseRequest):
({"type": t} for t in self.auth_handler.get_supported_login_types())
)

flows.append({"type": LoginRestServlet.APPSERVICE_TYPE})

return 200, {"flows": flows}

def on_OPTIONS(self, request: SynapseRequest):
Expand Down