Closed diego2013 closed 8 years ago
Notice that there is no "logging out" method for the Meteor's accounts package. The logout method signs out the current (logged in) user.
Check this SO question about implementing such mechanism. This answer is particularly interesting, adding the functionality as an event of the loginButtons package instead of running code on autorun.
I have noticed that an admin could be on the page where he/she approves a scenario (or any other page displaying sensitive information) and then click "log out" and still be (and see) the same screen. The user logs out successfully, but in order to convey that to the user, and effectively log out the user (like if someone else was going to use the same terminal) we should hide the information being displayed, maybe by redirecting to the home page.