diff options
Diffstat (limited to 'apps/theming/src/personal-settings.js')
-rw-r--r-- | apps/theming/src/personal-settings.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/theming/src/personal-settings.js b/apps/theming/src/personal-settings.js index 15190358c36..bbee88e3804 100644 --- a/apps/theming/src/personal-settings.js +++ b/apps/theming/src/personal-settings.js @@ -2,14 +2,14 @@ * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors * SPDX-License-Identifier: AGPL-3.0-or-later */ -import { getRequestToken } from '@nextcloud/auth' +import { getCSPNonce } from '@nextcloud/auth' import Vue from 'vue' import { refreshStyles } from './helpers/refreshStyles.js' import App from './UserTheming.vue' // eslint-disable-next-line camelcase -__webpack_nonce__ = btoa(getRequestToken()) +__webpack_nonce__ = getCSPNonce() Vue.prototype.OC = OC Vue.prototype.t = t |