mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Add a comment about disconnecting sessions when users or login tokens are deleted.
This commit is contained in:
@@ -331,6 +331,12 @@ _.extend(Meteor._LivedataSession.prototype, {
|
||||
var self = this;
|
||||
self.userId = userId;
|
||||
this._rerunAllSubscriptions();
|
||||
|
||||
// XXX figure out the login token that was just used, and set up an observe
|
||||
// on the user doc so that deleting the user or the login token disconnects
|
||||
// the session. For now, if you want to make sure that your deleted users
|
||||
// don't have any continuing sessions, you can restart the server, but we
|
||||
// should make it automatic.
|
||||
},
|
||||
|
||||
_startSubscription: function (handler, priority, sub_id, params) {
|
||||
|
||||
Reference in New Issue
Block a user