LT-117: Remove the user from reviewers of user is logout
This commit is contained in:
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');
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user