mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-17 23:42:33 +01: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
1
changelog.d/6702.misc
Normal file
1
changelog.d/6702.misc
Normal file
|
@ -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 a new issue