Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Revert changes to using the BaseHandler.
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep committed Dec 4, 2020
1 parent 834fd59 commit 3a9b58f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion synapse/handlers/cas_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ class CasHandler:
def __init__(self, hs: "HomeServer"):
self.hs = hs
self._hostname = hs.hostname
self._store = hs.get_datastore()
self._auth_handler = hs.get_auth_handler()
self._registration_handler = hs.get_registration_handler()

Expand Down Expand Up @@ -282,7 +283,7 @@ async def grandfather_existing_users() -> Optional[str]:
"Looking for existing account based on mapped %s", user_id,
)

users = await self.store.get_users_by_id_case_insensitive(user_id)
users = await self._store.get_users_by_id_case_insensitive(user_id)
if users:
registered_user_id = list(users.keys())[0]
logger.info("Grandfathering mapping to %s", registered_user_id)
Expand Down

0 comments on commit 3a9b58f

Please sign in to comment.