Merge pull request #2309 from matrix-org/erikj/user_ip_repl

Fix up user_ip replication commands
This commit is contained in:
Erik Johnston 2017-07-06 14:33:14 +01:00 committed by GitHub
commit ed9a7f5436
6 changed files with 18 additions and 17 deletions

View file

@ -209,7 +209,7 @@ class Auth(object):
)[0]
if user and access_token and ip_addr:
self.store.insert_client_ip(
user=user,
user_id=user.to_string(),
access_token=access_token,
ip=ip_addr,
user_agent=user_agent,