summary refs log tree commit diff
path: root/synapse/rest/client/v1/login.py
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2020-10-22 08:35:55 -0400
committerGitHub <noreply@github.com>2020-10-22 08:35:55 -0400
commit514a240aedd972e6c8b707a7685c3d283f8618c9 (patch)
tree52e476ced593d0cb695c567a6c40afe4151c8c82 /synapse/rest/client/v1/login.py
parentDon't 500 for invalid group IDs (#8628) (diff)
downloadsynapse-514a240aedd972e6c8b707a7685c3d283f8618c9.tar.xz
Remove unused OPTIONS handlers. (#8621)
The handling of OPTIONS requests was consolidated in #7534, but the endpoint
specific handlers were not removed.
Diffstat (limited to 'synapse/rest/client/v1/login.py')
-rw-r--r--synapse/rest/client/v1/login.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/synapse/rest/client/v1/login.py b/synapse/rest/client/v1/login.py
index b82a4e978a..94452fcbf5 100644
--- a/synapse/rest/client/v1/login.py
+++ b/synapse/rest/client/v1/login.py
@@ -114,9 +114,6 @@ class LoginRestServlet(RestServlet):
 
         return 200, {"flows": flows}
 
-    def on_OPTIONS(self, request: SynapseRequest):
-        return 200, {}
-
     async def on_POST(self, request: SynapseRequest):
         self._address_ratelimiter.ratelimit(request.getClientIP())