mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 12:16:09 -04:00
Remove duplicate session check in web fallback servlet (#6702)
This commit is contained in:
parent
608bf7d741
commit
edc244eec4
2 changed files with 1 additions and 4 deletions
|
@ -206,10 +206,6 @@ class AuthRestServlet(RestServlet):
|
|||
|
||||
return None
|
||||
elif stagetype == LoginType.TERMS:
|
||||
if ("session" not in request.args or len(request.args["session"])) == 0:
|
||||
raise SynapseError(400, "No session supplied")
|
||||
|
||||
session = request.args["session"][0]
|
||||
authdict = {"session": session}
|
||||
|
||||
success = await self.auth_handler.add_oob_auth(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue