MT#56399 Give option to disable SIP-password-change in CSC

Change-Id: I0643efa770fa720c45035a04221cf8c52ca13acf
pull/27/merge
nouhaila 3 years ago
parent 58361b087e
commit 4c80215e00

@ -17,6 +17,7 @@
@change="requestWebPasswordChange"
/>
<csc-change-password-embedded
v-if= "isAdministrative"
ref="changeSipPasswordSection"
class="q-mb-md"
:btn-label="$t('Change SIP Password')"
@ -73,6 +74,7 @@ import { mapWaitingActions, mapWaitingGetters } from 'vue-wait'
import { copyToClipboard } from 'quasar'
import CscInputPassword from 'components/form/CscInputPassword'
const WAIT_CHANGE_WEB_PASSWORD = 'processing-changeWebPassword'
const WAIT_CHANGE_SIP_PASSWORD = 'processing-changeSIPPassword'
@ -98,6 +100,9 @@ export default {
currentSIPPassword () {
return this.getSubscriber?.password || ''
},
isAdministrative () {
return this.getSubscriber?.administrative || false
},
currentSIPURI () {
const subscriberData = this.getSubscriber
return subscriberData?.username + '@' + subscriberData?.domain

Loading…
Cancel
Save