LT-117: Remove the user from reviewers of user is logout

This commit is contained in:
Aysel Afsar committed 2016-04-04 10:35:52 -04:00
1 parent 2da841bab0
commit 8ee2eaf644
4 files changed
+15 -12

No files matched your search

@@ -45,6 +45,8 @@ Template.userAccountMenu.events({
$('#serverInformationModal').modal('show');
},
'click #logoutButton': function() {
// Remove reviewers info for the user
Meteor.call('removeUserFromReviewers', Meteor.userId());
Meteor.logout(function() {
Router.go('/entrySignIn');
});