Fix E_DEPRECATED warning when using Auth_SASL::factory() (#5401)

pull/266/merge
Aleksander Machniak 8 years ago
parent 18842dd14e
commit 2298ecf7f6

@ -37,6 +37,7 @@ CHANGELOG Roundcube Webmail
- Fix bug where memcache_debug didn't work for session operations - Fix bug where memcache_debug didn't work for session operations
- Fix bug where Message-ID domain part was tied to username instead of current identity (#5385) - Fix bug where Message-ID domain part was tied to username instead of current identity (#5385)
- Fix bug where blocked.gif couldn't be attached to reply/forward with insecure content - Fix bug where blocked.gif couldn't be attached to reply/forward with insecure content
- Fix E_DEPRECATED warning when using Auth_SASL::factory() (#5401)
RELEASE 1.2.1 RELEASE 1.2.1
------------- -------------

@ -575,7 +575,8 @@ class rcube_imap_generic
$user = ''; $user = '';
} }
$auth_sasl = Auth_SASL::factory('digestmd5'); $auth_sasl = new Auth_SASL;
$auth_sasl = $auth_sasl->factory('digestmd5');
$reply = base64_encode($auth_sasl->getResponse($authc, $pass, $reply = base64_encode($auth_sasl->getResponse($authc, $pass,
base64_decode($challenge), $this->host, 'imap', $user)); base64_decode($challenge), $this->host, 'imap', $user));

Loading…
Cancel
Save