mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-09-20 23:54:34 -04:00
Merge remote-tracking branch 'upstream/release-v1.34.0'
This commit is contained in:
commit
2d57abd6b7
363 changed files with 2301 additions and 737 deletions
|
@ -729,9 +729,7 @@ class RegistrationHandler(BaseHandler):
|
|||
)
|
||||
if is_guest:
|
||||
assert valid_until_ms is None
|
||||
access_token = self.macaroon_gen.generate_access_token(
|
||||
user_id, ["guest = true"]
|
||||
)
|
||||
access_token = self.macaroon_gen.generate_guest_access_token(user_id)
|
||||
else:
|
||||
access_token = await self._auth_handler.get_access_token_for_user_id(
|
||||
user_id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue