diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-03-01 14:09:54 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-03-01 21:24:44 +0100 |
commit | 102f700d96556424e4b59fcc9fadd65c1a377225 (patch) | |
tree | bdd172ea009b5869960a78145d0d49489cae899f /settings/src/main-personal-security.js | |
parent | 2398d1183e7e561c8d3db7c06d8919d09c26b9e8 (diff) | |
download | nextcloud-server-102f700d96556424e4b59fcc9fadd65c1a377225.tar.gz nextcloud-server-102f700d96556424e4b59fcc9fadd65c1a377225.zip |
Load auth tokens with the initial state API
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'settings/src/main-personal-security.js')
-rw-r--r-- | settings/src/main-personal-security.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/settings/src/main-personal-security.js b/settings/src/main-personal-security.js index 5b481a843ff..aaddd0a3332 100644 --- a/settings/src/main-personal-security.js +++ b/settings/src/main-personal-security.js @@ -32,4 +32,8 @@ Vue.use(VTooltip); Vue.prototype.t = t; const View = Vue.extend(AuthTokenSection); -new View().$mount('#security'); +new View({ + propsData: { + tokens: OCP.InitialState.loadState('settings', 'app_tokens'), + } +}).$mount('#security'); |