mirror of
https://gitlab.linphone.org/BC/public/flexisip-account-manager.git
synced 2026-01-17 10:08:05 +00:00
Fix FLEXIAPI-319 Fix the admin device deletion link, recover the missing method
This commit is contained in:
parent
92825b0211
commit
fae800343f
2 changed files with 7 additions and 2 deletions
|
|
@ -339,6 +339,11 @@ class Account extends Authenticatable
|
|||
return null;
|
||||
}
|
||||
|
||||
public function getProvisioningLinphoneUriAttribute(): string
|
||||
{
|
||||
return str_replace('https://', 'linphone-config:', route('provisioning.provision', ['provisioning_token' => $this->provisioning_token]));
|
||||
}
|
||||
|
||||
public static function dtmfProtocolsRule()
|
||||
{
|
||||
return implode(',', array_keys(self::$dtmfProtocols));
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
To connect your account to the application, click on the following button:
|
||||
|
||||
<x-mail::button :url="route('provisioning.provision', ['provisioning_token' => $account->provisioning_token, 'reset_password' => true])" color="primary">
|
||||
<x-mail::button :url="$account->provisioning_linphone_uri" color="primary">
|
||||
Connect my account
|
||||
</x-mail::button>
|
||||
|
||||
You can also configure your device by scanning the QR code with the mobile app, or by pasting the link below into the desktop application.
|
||||
|
||||
 }})
|
||||
 }})
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue