Fix authentication for originating EMSI session with known systems
This commit is contained in:
@@ -80,7 +80,11 @@ class Node
|
||||
|
||||
// The nodes password
|
||||
case 'password':
|
||||
return ($this->ftns->count() && ($x=$this->ftns->first()->session('sespass'))) ? $x : '-';
|
||||
// If we have already authed, we'll use that password.
|
||||
if ($this->ftns_authed->count())
|
||||
return $this->ftns_authed->first()->session('sespass');
|
||||
else
|
||||
return ($this->ftns->count() && ($x=$this->ftns->first()->session('sespass'))) ? $x : '-';
|
||||
|
||||
// Return how long our session has been connected
|
||||
case 'session_time':
|
||||
|
Reference in New Issue
Block a user