mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 04:44:52 -04:00
on_OPTIONS isn't neccessary
This commit is contained in:
parent
75fa7f6b3c
commit
aaa9d9f0e1
2 changed files with 1 additions and 10 deletions
|
@ -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$")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue