mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-02-05 13:28:27 +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()
|
function isAuthenticated()
|
||||||
{
|
{
|
||||||
return (bool) ($this->bitmap & NET_SSH2_MASK_LOGIN);
|
return (bool) ($this->bitmap & self::MASK_LOGIN);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user