diff options
Diffstat (limited to 'settings')
-rw-r--r-- | settings/js/authtoken_view.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/js/authtoken_view.js b/settings/js/authtoken_view.js index 1484cffc337..3f88517d02b 100644 --- a/settings/js/authtoken_view.js +++ b/settings/js/authtoken_view.js @@ -451,7 +451,7 @@ var tokenId = $row.data('id'); var token = this.collection.get(tokenId); - if (_.isUndefined(token)) { + if (_.isUndefined(token) || token.get('current') === true) { // Ignore event return; } |