mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-11 22:55:05 -04:00
Rename get_access_token_for_user_id
method to create_access_token_for_user_id
(#11369)
This commit is contained in:
parent
60ecb6b4d4
commit
0d86f6334a
7 changed files with 16 additions and 15 deletions
|
@ -819,7 +819,7 @@ class RegistrationHandler:
|
|||
)
|
||||
valid_until_ms = self.clock.time_msec() + self.access_token_lifetime
|
||||
|
||||
access_token = await self._auth_handler.get_access_token_for_user_id(
|
||||
access_token = await self._auth_handler.create_access_token_for_user_id(
|
||||
user_id,
|
||||
device_id=registered_device_id,
|
||||
valid_until_ms=valid_until_ms,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue