diff options
Diffstat (limited to 'apps/sharebymail/src/main-admin.js')
-rw-r--r-- | apps/sharebymail/src/main-admin.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/sharebymail/src/main-admin.js b/apps/sharebymail/src/main-admin.js index fc0710ea9ad..dd3f6574adf 100644 --- a/apps/sharebymail/src/main-admin.js +++ b/apps/sharebymail/src/main-admin.js @@ -3,13 +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 Vue from 'vue' import AdminSettings from './components/AdminSettings.vue' -__webpack_nonce__ = btoa(getRequestToken()) +__webpack_nonce__ = getCSPNonce() Vue.mixin({ methods: { |