summaryrefslogtreecommitdiffstats
path: root/settings/Controller/AuthSettingsController.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2016-07-18 19:39:03 +0200
committerRobin Appelman <icewind@owncloud.com>2016-07-18 19:39:03 +0200
commitfac970b065c8029c2d605c8ffdc2f808cb802343 (patch)
tree380cb212680ca1768b7e5d98f44fbb0b8c75af2d /settings/Controller/AuthSettingsController.php
parentf7d26e4aa523d684be6feda2b7a091b2c1548965 (diff)
downloadnextcloud-server-fac970b065c8029c2d605c8ffdc2f808cb802343.tar.gz
nextcloud-server-fac970b065c8029c2d605c8ffdc2f808cb802343.zip
format current and sync client sessions in Personal
Diffstat (limited to 'settings/Controller/AuthSettingsController.php')
-rw-r--r--settings/Controller/AuthSettingsController.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/settings/Controller/AuthSettingsController.php b/settings/Controller/AuthSettingsController.php
index e7fc2d916bc..47ab1fc03fd 100644
--- a/settings/Controller/AuthSettingsController.php
+++ b/settings/Controller/AuthSettingsController.php
@@ -98,6 +98,7 @@ class AuthSettingsController extends Controller {
$data = $token->jsonSerialize();
if ($sessionToken->getId() === $token->getId()) {
$data['canDelete'] = false;
+ $data['current'] = true;
} else {
$data['canDelete'] = true;
}