From 171f24505ee08aaea80290df52aabf2c800afa3a Mon Sep 17 00:00:00 2001 From: "Grigorii K. Shartsev" Date: Thu, 25 Jul 2024 10:53:30 +0200 Subject: [PATCH] fix(AdminSettings): hide secrets in password fields Signed-off-by: Grigorii K. Shartsev --- src/components/AdminSettings/RecordingServers.vue | 7 ++++--- src/components/AdminSettings/SIPBridge.vue | 8 +++++--- src/components/AdminSettings/SignalingServers.vue | 7 ++++--- src/components/AdminSettings/TurnServer.vue | 5 ++++- 4 files changed, 17 insertions(+), 10 deletions(-) diff --git a/src/components/AdminSettings/RecordingServers.vue b/src/components/AdminSettings/RecordingServers.vue index 543350d90a1..e883c595276 100644 --- a/src/components/AdminSettings/RecordingServers.vue +++ b/src/components/AdminSettings/RecordingServers.vue @@ -57,9 +57,10 @@ {{ t('spreed', 'Add a new recording backend server') }} - {{ t('spreed', 'Shared secret') }} - @@ -104,9 +106,9 @@ import { generateOcsUrl } from '@nextcloud/router' import NcButton from '@nextcloud/vue/dist/Components/NcButton.js' import NcCheckboxRadioSwitch from '@nextcloud/vue/dist/Components/NcCheckboxRadioSwitch.js' import NcNoteCard from '@nextcloud/vue/dist/Components/NcNoteCard.js' +import NcPasswordField from '@nextcloud/vue/dist/Components/NcPasswordField.js' import NcSelect from '@nextcloud/vue/dist/Components/NcSelect.js' import NcTextArea from '@nextcloud/vue/dist/Components/NcTextArea.js' -import NcTextField from '@nextcloud/vue/dist/Components/NcTextField.js' import { setSIPSettings } from '../../services/settingsService.js' import { getWelcomeMessage } from '../../services/signalingService.js' @@ -120,7 +122,7 @@ export default { NcNoteCard, NcSelect, NcTextArea, - NcTextField, + NcPasswordField, }, data() { diff --git a/src/components/AdminSettings/SignalingServers.vue b/src/components/AdminSettings/SignalingServers.vue index c416ba5d8ce..151990e0550 100644 --- a/src/components/AdminSettings/SignalingServers.vue +++ b/src/components/AdminSettings/SignalingServers.vue @@ -71,9 +71,10 @@ - -