diff options
Diffstat (limited to 'apps/settings/src/main-personal-info.js')
-rw-r--r-- | apps/settings/src/main-personal-info.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/settings/src/main-personal-info.js b/apps/settings/src/main-personal-info.js index 2fe7d97b069..0a1e983c576 100644 --- a/apps/settings/src/main-personal-info.js +++ b/apps/settings/src/main-personal-info.js @@ -4,7 +4,7 @@ */ import Vue from 'vue' -import { getRequestToken } from '@nextcloud/auth' +import { getCSPNonce } from '@nextcloud/auth' import { loadState } from '@nextcloud/initial-state' import { translate as t } from '@nextcloud/l10n' @@ -28,7 +28,7 @@ import ProfileVisibilitySection from './components/PersonalInfo/ProfileVisibilit import BirthdaySection from './components/PersonalInfo/BirthdaySection.vue' import FirstDayOfWeekSection from './components/PersonalInfo/FirstDayOfWeekSection.vue' -__webpack_nonce__ = btoa(getRequestToken()) +__webpack_nonce__ = getCSPNonce() const profileEnabledGlobally = loadState('settings', 'profileEnabledGlobally', true) |