Skip to content

Commit 46e68c4

Browse files
author
Maxime Dor
committed
Fix for synapse >= v0.24
1 parent 8efcda5 commit 46e68c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rest_auth_provider.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def check_password(self, user_id, password):
7979
logger.info("Handling profile data")
8080
profile = auth["profile"]
8181

82-
store = yield self.account_handler.hs.get_handlers().profile_handler.store
82+
store = yield self.account_handler.hs.get_profile_handler().store
8383
if "display_name" in profile and ((registration and self.config.setNameOnRegister) or (self.config.setNameOnLogin)):
8484
display_name = profile["display_name"]
8585
logger.info("Setting display name to '%s' based on profile data", display_name)

0 commit comments

Comments
 (0)