mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Bug fix Remove port from domain_name in authentication (#7662)
* Remove port from domain_name in authentication Update domain_name property after removing port. Before ``` ["domain_name"]=> string(10) "1.1.1.1:8080" ``` After ``` ["domain_name"]=> string(10) "1.1.1.1" ```
This commit is contained in:
@@ -463,7 +463,7 @@ class authentication {
|
|||||||
//remote port number from the domain name
|
//remote port number from the domain name
|
||||||
$domain_array = explode(":", $this->domain_name);
|
$domain_array = explode(":", $this->domain_name);
|
||||||
if (count($domain_array) > 1) {
|
if (count($domain_array) > 1) {
|
||||||
$domain_name = $domain_array[0];
|
$this->domain_name = $domain_array[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
//if the username
|
//if the username
|
||||||
|
|||||||
Reference in New Issue
Block a user