Fix for bug introduced in 7c23971 that was affecting transfers with binkd nodes
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 38s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m46s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s

This commit is contained in:
Deon George 2024-06-28 05:28:35 +00:00
parent b9603e4bb8
commit cfb408766f

View File

@ -88,6 +88,10 @@ class Node
// If we are originating a session, we'll use that password. // If we are originating a session, we'll use that password.
if (isset($this->originate)) if (isset($this->originate))
return $this->originate->pass_session; return $this->originate->pass_session;
// If we have already authed, we'll use that password.
if ($this->ftns_authed->count())
return $this->ftns_authed->first()->pass_session;
else else
return ($this->ftns->count() && ($x=$this->ftns->first()->pass_session)) ? $x : '-'; return ($this->ftns->count() && ($x=$this->ftns->first()->pass_session)) ? $x : '-';