Remove duplicate session check in web fallback servlet (#6702)
This commit is contained in:
parent
608bf7d741
commit
edc244eec4
|
@ -0,0 +1 @@
|
|||
Remove duplicate check for the `session` query parameter on the `/auth/xxx/fallback/web` Client-Server endpoint.
|
|
@ -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…
Reference in New Issue