diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2019-02-02 12:01:27 +0100 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2019-02-02 20:21:58 +0100 |
commit | 850e67dea93e846afba9d86c6b5f08694ecfeb80 (patch) | |
tree | 13ea68eb050d92717d1f7b9810b5e0def7e77428 /settings | |
parent | 9ff6a2dab8e3f81efff2c7925ff2d77ceecd738f (diff) | |
download | nextcloud-server-850e67dea93e846afba9d86c6b5f08694ecfeb80.tar.gz nextcloud-server-850e67dea93e846afba9d86c6b5f08694ecfeb80.zip |
Don't update token if current session token
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
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; } |