diff options
author | Christopher Ng <chrng8@gmail.com> | 2022-09-13 18:38:36 +0000 |
---|---|---|
committer | Christopher Ng <chrng8@gmail.com> | 2022-09-14 17:23:22 +0000 |
commit | 26535e4856617c21dad14f444bd8a4316cae5af3 (patch) | |
tree | b01e881907f0405e39e103f6f6afdd8f40d74520 /apps/settings | |
parent | 204a700f85e17966a15afaa2dc91250e3c8a77b4 (diff) | |
download | nextcloud-server-26535e4856617c21dad14f444bd8a4316cae5af3.tar.gz nextcloud-server-26535e4856617c21dad14f444bd8a4316cae5af3.zip |
Fix unresponsive legacy password confirmation dialog with new dialog in Vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'apps/settings')
10 files changed, 20 insertions, 10 deletions
diff --git a/apps/settings/src/components/AuthTokenSection.vue b/apps/settings/src/components/AuthTokenSection.vue index 9d060c1cc64..36eb35fcf48 100644 --- a/apps/settings/src/components/AuthTokenSection.vue +++ b/apps/settings/src/components/AuthTokenSection.vue @@ -36,7 +36,8 @@ <script> import axios from '@nextcloud/axios' -import confirmPassword from '@nextcloud/password-confirmation' +import { confirmPassword } from '@nextcloud/password-confirmation' +import '@nextcloud/password-confirmation/dist/style.css' import { generateUrl } from '@nextcloud/router' import AuthTokenList from './AuthTokenList' diff --git a/apps/settings/src/components/AuthTokenSetupDialogue.vue b/apps/settings/src/components/AuthTokenSetupDialogue.vue index 5a706b153b9..3eae5b389b9 100644 --- a/apps/settings/src/components/AuthTokenSetupDialogue.vue +++ b/apps/settings/src/components/AuthTokenSetupDialogue.vue @@ -81,7 +81,8 @@ <script> import QR from '@chenfengyuan/vue-qrcode' -import confirmPassword from '@nextcloud/password-confirmation' +import { confirmPassword } from '@nextcloud/password-confirmation' +import '@nextcloud/password-confirmation/dist/style.css' import { getRootUrl } from '@nextcloud/router' import NcButton from '@nextcloud/vue/dist/Components/NcButton' diff --git a/apps/settings/src/components/BasicSettings/BackgroundJob.vue b/apps/settings/src/components/BasicSettings/BackgroundJob.vue index 678251e5f15..f4c2e2d149e 100644 --- a/apps/settings/src/components/BasicSettings/BackgroundJob.vue +++ b/apps/settings/src/components/BasicSettings/BackgroundJob.vue @@ -92,7 +92,8 @@ import NcNoteCard from '@nextcloud/vue/dist/Components/NcNoteCard.js' import moment from '@nextcloud/moment' import axios from '@nextcloud/axios' import { generateOcsUrl } from '@nextcloud/router' -import confirmPassword from '@nextcloud/password-confirmation' +import { confirmPassword } from '@nextcloud/password-confirmation' +import '@nextcloud/password-confirmation/dist/style.css' const lastCron = loadState('settings', 'lastCron') const cronMaxAge = loadState('settings', 'cronMaxAge', '') diff --git a/apps/settings/src/components/Encryption.vue b/apps/settings/src/components/Encryption.vue index 834f9b1c79b..cec060b32d8 100644 --- a/apps/settings/src/components/Encryption.vue +++ b/apps/settings/src/components/Encryption.vue @@ -84,7 +84,8 @@ import { loadState } from '@nextcloud/initial-state' import { getLoggerBuilder } from '@nextcloud/logger' import { generateOcsUrl } from '@nextcloud/router' -import confirmPassword from '@nextcloud/password-confirmation' +import { confirmPassword } from '@nextcloud/password-confirmation' +import '@nextcloud/password-confirmation/dist/style.css' import { showError } from '@nextcloud/dialogs' const logger = getLoggerBuilder() diff --git a/apps/settings/src/components/WebAuthn/AddDevice.vue b/apps/settings/src/components/WebAuthn/AddDevice.vue index 463f5d9029a..3fec2d84351 100644 --- a/apps/settings/src/components/WebAuthn/AddDevice.vue +++ b/apps/settings/src/components/WebAuthn/AddDevice.vue @@ -61,7 +61,8 @@ </template> <script> -import confirmPassword from '@nextcloud/password-confirmation' +import { confirmPassword } from '@nextcloud/password-confirmation' +import '@nextcloud/password-confirmation/dist/style.css' import logger from '../../logger' import { diff --git a/apps/settings/src/components/WebAuthn/Section.vue b/apps/settings/src/components/WebAuthn/Section.vue index 56832e4eea3..db6cc1dafc3 100644 --- a/apps/settings/src/components/WebAuthn/Section.vue +++ b/apps/settings/src/components/WebAuthn/Section.vue @@ -48,7 +48,8 @@ </template> <script> -import confirmPassword from '@nextcloud/password-confirmation' +import { confirmPassword } from '@nextcloud/password-confirmation' +import '@nextcloud/password-confirmation/dist/style.css' import sortBy from 'lodash/fp/sortBy' import AddDevice from './AddDevice' diff --git a/apps/settings/src/service/PersonalInfo/EmailService.js b/apps/settings/src/service/PersonalInfo/EmailService.js index 017c0518f60..90301715521 100644 --- a/apps/settings/src/service/PersonalInfo/EmailService.js +++ b/apps/settings/src/service/PersonalInfo/EmailService.js @@ -23,7 +23,8 @@ import axios from '@nextcloud/axios' import { getCurrentUser } from '@nextcloud/auth' import { generateOcsUrl } from '@nextcloud/router' -import confirmPassword from '@nextcloud/password-confirmation' +import { confirmPassword } from '@nextcloud/password-confirmation' +import '@nextcloud/password-confirmation/dist/style.css' import { ACCOUNT_PROPERTY_ENUM, SCOPE_SUFFIX } from '../../constants/AccountPropertyConstants' diff --git a/apps/settings/src/service/PersonalInfo/PersonalInfoService.js b/apps/settings/src/service/PersonalInfo/PersonalInfoService.js index da86414da00..f39d29011ba 100644 --- a/apps/settings/src/service/PersonalInfo/PersonalInfoService.js +++ b/apps/settings/src/service/PersonalInfo/PersonalInfoService.js @@ -23,7 +23,8 @@ import axios from '@nextcloud/axios' import { getCurrentUser } from '@nextcloud/auth' import { generateOcsUrl } from '@nextcloud/router' -import confirmPassword from '@nextcloud/password-confirmation' +import { confirmPassword } from '@nextcloud/password-confirmation' +import '@nextcloud/password-confirmation/dist/style.css' import { SCOPE_SUFFIX } from '../../constants/AccountPropertyConstants' diff --git a/apps/settings/src/service/ProfileService.js b/apps/settings/src/service/ProfileService.js index f84135dd9d2..1df52983c90 100644 --- a/apps/settings/src/service/ProfileService.js +++ b/apps/settings/src/service/ProfileService.js @@ -23,7 +23,8 @@ import axios from '@nextcloud/axios' import { getCurrentUser } from '@nextcloud/auth' import { generateOcsUrl } from '@nextcloud/router' -import confirmPassword from '@nextcloud/password-confirmation' +import { confirmPassword } from '@nextcloud/password-confirmation' +import '@nextcloud/password-confirmation/dist/style.css' /** * Save the visibility of the profile parameter diff --git a/apps/settings/src/store/api.js b/apps/settings/src/store/api.js index c7136bccab8..23965b6d2e4 100644 --- a/apps/settings/src/store/api.js +++ b/apps/settings/src/store/api.js @@ -25,7 +25,8 @@ */ import axios from '@nextcloud/axios' -import confirmPassword from '@nextcloud/password-confirmation' +import { confirmPassword } from '@nextcloud/password-confirmation' +import '@nextcloud/password-confirmation/dist/style.css' const sanitize = function(url) { return url.replace(/\/$/, '') // Remove last url slash |