aboutsummaryrefslogtreecommitdiffstats
path: root/core/src/recommendedapps.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/recommendedapps.js')
-rw-r--r--core/src/recommendedapps.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/recommendedapps.js b/core/src/recommendedapps.js
index b7350703f09..13f16436ed3 100644
--- a/core/src/recommendedapps.js
+++ b/core/src/recommendedapps.js
@@ -3,7 +3,7 @@
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
-import { getRequestToken } from '@nextcloud/auth'
+import { getCSPNonce } from '@nextcloud/auth'
import { translate as t } from '@nextcloud/l10n'
import Vue from 'vue'
@@ -11,7 +11,7 @@ import logger from './logger.js'
import RecommendedApps from './components/setup/RecommendedApps.vue'
// eslint-disable-next-line camelcase
-__webpack_nonce__ = btoa(getRequestToken())
+__webpack_nonce__ = getCSPNonce()
Vue.mixin({
methods: {