Closed marshallswain closed 7 years ago
can-connect-feathers should probably do something more like this for destroyData:
destroyData: function (session) { return feathersClient.logout().then(function(){ Session.trigger('destroyed', [session]); this.destroyInstance(session); }.bind(this)); }
Then the "session destroyed" event will fire and clear the session data from the UI.
Related to https://github.com/donejs/bitcentive/issues/175
This is fixed in the currently-published 3.0.0-pre.22.
3.0.0-pre.22
can-connect-feathers should probably do something more like this for destroyData:
Then the "session destroyed" event will fire and clear the session data from the UI.