mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-16 22:40:19 -04:00
Validate that the session is not modified during UI-Auth (#7068)
This commit is contained in:
parent
6ca5e56fd1
commit
1c1242acba
8 changed files with 117 additions and 14 deletions
|
@ -499,7 +499,10 @@ class RegisterRestServlet(RestServlet):
|
|||
)
|
||||
|
||||
auth_result, params, session_id = await self.auth_handler.check_auth(
|
||||
self._registration_flows, body, self.hs.get_ip_from_request(request)
|
||||
self._registration_flows,
|
||||
request,
|
||||
body,
|
||||
self.hs.get_ip_from_request(request),
|
||||
)
|
||||
|
||||
# Check that we're not trying to register a denied 3pid.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue