mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-02-04 04:48:30 +00:00
commit
6c1681888d
@ -211,7 +211,7 @@ class Net_SSH2 {
|
|||||||
/**
|
/**
|
||||||
* Execution Bitmap
|
* Execution Bitmap
|
||||||
*
|
*
|
||||||
* The bits that are set reprsent functions that have been called already. This is used to determine
|
* The bits that are set represent functions that have been called already. This is used to determine
|
||||||
* if a requisite function has been successfully executed. If not, an error should be thrown.
|
* if a requisite function has been successfully executed. If not, an error should be thrown.
|
||||||
*
|
*
|
||||||
* @var Integer
|
* @var Integer
|
||||||
@ -690,7 +690,7 @@ class Net_SSH2 {
|
|||||||
/**
|
/**
|
||||||
* Flag to suppress stderr from output
|
* Flag to suppress stderr from output
|
||||||
*
|
*
|
||||||
* @see Net_SSH2::enableQuiteMode()
|
* @see Net_SSH2::enableQuietMode()
|
||||||
* @access private
|
* @access private
|
||||||
*/
|
*/
|
||||||
var $quiet_mode = false;
|
var $quiet_mode = false;
|
||||||
@ -1698,7 +1698,7 @@ class Net_SSH2 {
|
|||||||
|
|
||||||
switch ($type) {
|
switch ($type) {
|
||||||
case NET_SSH2_MSG_USERAUTH_FAILURE:
|
case NET_SSH2_MSG_USERAUTH_FAILURE:
|
||||||
// either the login is bad or the server employees multi-factor authentication
|
// either the login is bad or the server employs multi-factor authentication
|
||||||
return false;
|
return false;
|
||||||
case NET_SSH2_MSG_USERAUTH_SUCCESS:
|
case NET_SSH2_MSG_USERAUTH_SUCCESS:
|
||||||
$this->bitmap |= NET_SSH2_MASK_LOGIN;
|
$this->bitmap |= NET_SSH2_MASK_LOGIN;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user