Abstract address session() details
This commit is contained in:
@@ -86,9 +86,9 @@ class Node
|
||||
case 'password':
|
||||
// If we have already authed, we'll use that password.
|
||||
if ($this->ftns_authed->count())
|
||||
return $this->ftns_authed->first()->session('sespass');
|
||||
return $this->ftns_authed->first()->pass_session;
|
||||
else
|
||||
return ($this->ftns->count() && ($x=$this->ftns->first()->session('sespass'))) ? $x : '-';
|
||||
return ($this->ftns->count() && ($x=$this->ftns->first()->pass_session)) ? $x : '-';
|
||||
|
||||
// Return how long our session has been connected
|
||||
case 'session_time':
|
||||
@@ -194,7 +194,7 @@ class Node
|
||||
throw new Exception('Already authed');
|
||||
|
||||
foreach ($this->ftns as $o) {
|
||||
if (! $sespass=$o->session('sespass'))
|
||||
if (! $sespass=$o->pass_session)
|
||||
continue;
|
||||
|
||||
// If we have challenge, then we are doing MD5
|
||||
|
Reference in New Issue
Block a user