diff --git a/app/Classes/Node.php b/app/Classes/Node.php index 90807af..85abf3a 100644 --- a/app/Classes/Node.php +++ b/app/Classes/Node.php @@ -88,6 +88,10 @@ class Node // If we are originating a session, we'll use that password. if (isset($this->originate)) 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 return ($this->ftns->count() && ($x=$this->ftns->first()->pass_session)) ? $x : '-';