Don't wait for storage of access_token

This commit is contained in:
Erik Johnston 2015-05-01 13:14:05 +01:00
parent 4011cf1c42
commit 80b4119279

View File

@ -360,7 +360,7 @@ class Auth(object):
default=[""] default=[""]
)[0] )[0]
if user and access_token and ip_addr: if user and access_token and ip_addr:
yield self.store.insert_client_ip( self.store.insert_client_ip(
user=user, user=user,
access_token=access_token, access_token=access_token,
device_id=user_info["device_id"], device_id=user_info["device_id"],