Rename a variable.
parent
c013c83136
commit
9f3f65771a
|
@ -77,14 +77,14 @@ class SsoHandler(BaseHandler):
|
||||||
auth_provider_id,
|
auth_provider_id,
|
||||||
remote_user_id,
|
remote_user_id,
|
||||||
)
|
)
|
||||||
registered_user_id = await self.store.get_user_by_external_id(
|
previously_registered_user_id = await self.store.get_user_by_external_id(
|
||||||
auth_provider_id, remote_user_id,
|
auth_provider_id, remote_user_id,
|
||||||
)
|
)
|
||||||
|
|
||||||
# A match was found, return the user ID.
|
# A match was found, return the user ID.
|
||||||
if registered_user_id is not None:
|
if previously_registered_user_id is not None:
|
||||||
logger.info("Found existing mapping %s", registered_user_id)
|
logger.info("Found existing mapping %s", previously_registered_user_id)
|
||||||
return registered_user_id
|
return previously_registered_user_id
|
||||||
|
|
||||||
# No match.
|
# No match.
|
||||||
return None
|
return None
|
||||||
|
|
Loading…
Reference in New Issue