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:
volga629-1
2025-12-22 14:18:07 -05:00
committed by GitHub
parent 52245de31e
commit 22800c74c0

View File

@@ -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