Skip to content

Commit

Permalink
[api] removes 'api-token' on logout
Browse files Browse the repository at this point in the history
  • Loading branch information
blakmatrix committed Feb 7, 2013
1 parent 98f58bf commit 9c2eee3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/jitsu/commands.js
Expand Up @@ -38,6 +38,11 @@ jitsu.use(require('flatiron-cli-users'), {
}
});
}
},
logout: function(details, next){
jitsu.config.clear('api-token');
jitsu.config.save();
return next();
}
}
});

0 comments on commit 9c2eee3

Please sign in to comment.