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

This commit is contained in:
Patrick Cloke 2020-10-01 13:38:20 -04:00 committed by GitHub
parent 2eb947e0ee
commit 61aaf36a1c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

1
changelog.d/8440.bugfix Normal file
View file

@ -0,0 +1 @@
Do not expose the experimental `uk.half-shot.msc2778.login.application_service` flow in the login API.

View file

@ -111,8 +111,6 @@ class LoginRestServlet(RestServlet):
({"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):