summary refs log tree commit diff
path: root/synapse/rest/client/v2_alpha/register.py
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2016-07-12 14:13:14 +0100
committerDavid Baker <dave@matrix.org>2016-07-12 14:13:14 +0100
commitaaa9d9f0e1d761655c4976a45a76dfba31f067de (patch)
treeca227fe5d75855c3ef01f7876b0322353814661e /synapse/rest/client/v2_alpha/register.py
parentRemove other debug logging (diff)
downloadsynapse-aaa9d9f0e1d761655c4976a45a76dfba31f067de.tar.xz
on_OPTIONS isn't neccessary
Diffstat (limited to 'synapse/rest/client/v2_alpha/register.py')
-rw-r--r--synapse/rest/client/v2_alpha/register.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/synapse/rest/client/v2_alpha/register.py b/synapse/rest/client/v2_alpha/register.py
index e5944b99b1..7c6d2942dc 100644
--- a/synapse/rest/client/v2_alpha/register.py
+++ b/synapse/rest/client/v2_alpha/register.py
@@ -72,9 +72,6 @@ class RegisterRequestTokenRestServlet(RestServlet):
         ret = yield self.identity_handler.requestEmailToken(**body)
         defer.returnValue((200, ret))
 
-    def on_OPTIONS(self, _):
-        return 200, {}
-
 
 class RegisterRestServlet(RestServlet):
     PATTERNS = client_v2_patterns("/register$")