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