Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion server/connections.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,9 @@ Meteor.methods
if (token = Accounts._getLoginToken(this.connection.id))
# This $pulls tokens from services.resume.loginTokens, and should work
# in the same way that Accounts._expireTokens effects cleanup.
Accounts.destroyToken(userId, token)
Meteor.setTimeout ->
Accounts.destroyToken(userId, token)
, 1000

# return true to auto submit the HIT
return true
Expand Down