mirror of
https://gitlab.linphone.org/BC/public/flexisip-account-manager.git
synced 2026-01-17 01:58:07 +00:00
Fix #31 provide realm based on the external account and directly use the domain
This commit is contained in:
parent
01ef34ea8d
commit
31b5cbe059
3 changed files with 3 additions and 3 deletions
|
|
@ -21,6 +21,6 @@ class ExternalAccount extends Model
|
|||
|
||||
public function getResolvedRealmAttribute()
|
||||
{
|
||||
return config('app.realm') ?? $this->attributes['domain'];
|
||||
return $this->attributes['domain'];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -262,7 +262,7 @@ class ProvisioningController extends Controller
|
|||
$entry->setAttribute('name', 'ha1');
|
||||
$section->appendChild($entry);
|
||||
|
||||
$entry = $dom->createElement('entry', $account->resolvedRealm);
|
||||
$entry = $dom->createElement('entry', $externalAccount->resolvedRealm);
|
||||
$entry->setAttribute('name', 'realm');
|
||||
$section->appendChild($entry);
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
#%define _datadir %{_datarootdir}
|
||||
#%define _docdir %{_datadir}/doc
|
||||
|
||||
%define build_number 146
|
||||
%define build_number 147
|
||||
%define var_dir /var/opt/belledonne-communications
|
||||
%define opt_dir /opt/belledonne-communications/share/flexisip-account-manager
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue