mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-23 06:19:09 +01:00
fixing typo in error handling of authCRAM_MD5 and authDigest_MD5
This commit is contained in:
parent
644eccc65b
commit
ae0c6da166
@ -505,8 +505,8 @@ class Net_Sieve
|
||||
function _authCRAM_MD5($uid, $pwd, $euser)
|
||||
{
|
||||
if ( PEAR::isError( $challenge = $this->_doCmd( 'AUTHENTICATE "CRAM-MD5"' ) ) ) {
|
||||
$this->_error=challenge ;
|
||||
return challenge ;
|
||||
$this->_error=$challenge ;
|
||||
return $challenge ;
|
||||
}
|
||||
$challenge=trim($challenge);
|
||||
$challenge = base64_decode( trim($challenge) );
|
||||
@ -538,8 +538,8 @@ class Net_Sieve
|
||||
function _authDigest_MD5($uid, $pwd, $euser)
|
||||
{
|
||||
if ( PEAR::isError( $challenge = $this->_doCmd('AUTHENTICATE "DIGEST-MD5"') ) ) {
|
||||
$this->_error=challenge ;
|
||||
return challenge ;
|
||||
$this->_error=$challenge ;
|
||||
return $challenge ;
|
||||
}
|
||||
$challenge = base64_decode( $challenge );
|
||||
$digest = &Auth_SASL::factory('digestmd5');
|
||||
|
Loading…
Reference in New Issue
Block a user