Files
meteor/packages
Raghavendra Rachamadugu 5d4de13cfd [7397] onLogout should provide connection information
Adding an argument to onLogoutCallback. The callback is an object with two properties - userId and connection. I thought of loading up the user and instead have the user property, but felt like this maybe redundant. Logout hooks can always do this if they need. However one advantage of having user instead of userId is it makes it symmetric/consistent with onLogin callback. Let me know if you strongly feel we should have user instead userId..

Also extended an existing test to validate the onLogout callback gets this argument with expected user id
2016-07-18 16:20:48 -07:00
..
2016-06-14 22:46:42 -04:00