aboutsummaryrefslogtreecommitdiffstats
path: root/apps/federatedfilesharing/src/main-personal.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/federatedfilesharing/src/main-personal.js')
-rw-r--r--apps/federatedfilesharing/src/main-personal.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/federatedfilesharing/src/main-personal.js b/apps/federatedfilesharing/src/main-personal.js
index 368c438a7e9..a4ff1e6a669 100644
--- a/apps/federatedfilesharing/src/main-personal.js
+++ b/apps/federatedfilesharing/src/main-personal.js
@@ -3,12 +3,12 @@
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import Vue from 'vue'
-import { getRequestToken } from '@nextcloud/auth'
+import { getCSPNonce } from '@nextcloud/auth'
import { translate as t } from '@nextcloud/l10n'
import PersonalSettings from './components/PersonalSettings.vue'
-__webpack_nonce__ = btoa(getRequestToken())
+__webpack_nonce__ = getCSPNonce()
Vue.mixin({
methods: {