summaryrefslogtreecommitdiffstats
path: root/settings/js/personal.js
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@owncloud.com>2016-05-18 12:03:22 +0200
committerChristoph Wurst <christoph@owncloud.com>2016-05-23 09:11:12 +0200
commit12431aa3997154aaea4eec11c2dd65f9e5dbe179 (patch)
tree8395c270b144401f53e5ed048f94a28002410e3d /settings/js/personal.js
parent357d342467b9200f190376a2bd224fa7b803b45a (diff)
downloadnextcloud-server-12431aa3997154aaea4eec11c2dd65f9e5dbe179.tar.gz
nextcloud-server-12431aa3997154aaea4eec11c2dd65f9e5dbe179.zip
list user's auth tokens on the personal settings page
Diffstat (limited to 'settings/js/personal.js')
-rw-r--r--settings/js/personal.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/settings/js/personal.js b/settings/js/personal.js
index 09f63f3f6af..aea2400e999 100644
--- a/settings/js/personal.js
+++ b/settings/js/personal.js
@@ -361,6 +361,13 @@ $(document).ready(function () {
if (oc_config.enable_avatars) {
$('#avatar .avatardiv').avatar(OC.currentUser, 145);
}
+
+ // Show token views
+ var collection = new OC.Settings.AuthTokenCollection();
+ var view = new OC.Settings.AuthTokenView({
+ collection: collection
+ });
+ view.reload();
});
if (!OC.Encryption) {