mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-01-14 10:53:09 +00:00
SSH2: update isAuthenticated to work with 2.0 / master branches
This commit is contained in:
parent
d17aeffc04
commit
600f9c4e4b
@ -2870,7 +2870,7 @@ class SSH2
|
||||
*/
|
||||
function isAuthenticated()
|
||||
{
|
||||
return (bool) ($this->bitmap & NET_SSH2_MASK_LOGIN);
|
||||
return (bool) ($this->bitmap & self::MASK_LOGIN);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user