mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 21:43:50 +01:00
Do not expose the experimental appservice login flow to clients. (#8440)
This commit is contained in:
parent
2eb947e0ee
commit
61aaf36a1c
2 changed files with 1 additions and 2 deletions
1
changelog.d/8440.bugfix
Normal file
1
changelog.d/8440.bugfix
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Do not expose the experimental `uk.half-shot.msc2778.login.application_service` flow in the login API.
|
|
@ -111,8 +111,6 @@ class LoginRestServlet(RestServlet):
|
||||||
({"type": t} for t in self.auth_handler.get_supported_login_types())
|
({"type": t} for t in self.auth_handler.get_supported_login_types())
|
||||||
)
|
)
|
||||||
|
|
||||||
flows.append({"type": LoginRestServlet.APPSERVICE_TYPE})
|
|
||||||
|
|
||||||
return 200, {"flows": flows}
|
return 200, {"flows": flows}
|
||||||
|
|
||||||
def on_OPTIONS(self, request: SynapseRequest):
|
def on_OPTIONS(self, request: SynapseRequest):
|
||||||
|
|
Loading…
Reference in a new issue