diff options
author | reivilibre <oliverw@matrix.org> | 2021-11-18 14:45:38 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-18 14:45:38 +0000 |
commit | 433ee159cbc89f5f00a6c5ef7849007a81d58baf (patch) | |
tree | c0ce224171c0a771907ec1227f2708927529c621 /synapse/handlers/register.py | |
parent | Use auto_attribs for RefreshTokenLookupResult (#11386) (diff) | |
download | synapse-433ee159cbc89f5f00a6c5ef7849007a81d58baf.tar.xz |
Rename `get_refresh_token_for_user_id` to `create_refresh_token_for_user_id` (#11370)
Diffstat (limited to 'synapse/handlers/register.py')
-rw-r--r-- | synapse/handlers/register.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/register.py b/synapse/handlers/register.py index 6b5c3d1974..b5664e9fde 100644 --- a/synapse/handlers/register.py +++ b/synapse/handlers/register.py @@ -813,7 +813,7 @@ class RegistrationHandler: ( refresh_token, refresh_token_id, - ) = await self._auth_handler.get_refresh_token_for_user_id( + ) = await self._auth_handler.create_refresh_token_for_user_id( user_id, device_id=registered_device_id, ) |