mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-03 06:27:02 +03:00
Changed: use hash_hmac() instead of MailSo\Base\Utils::Hmac()
Renamed: PrepearFetchSequence() to PrepareFetchSequence() Removed: StripSlashesValue() because PHP7 has no magic_quotes_gpc
This commit is contained in:
parent
23e9964997
commit
9bb44e7f98
7 changed files with 19 additions and 128 deletions
|
|
@ -210,7 +210,7 @@ class ImapClient extends \MailSo\Net\NetClient
|
|||
$sTicket = @\base64_decode($oContinuationResponse->ResponseList[1]);
|
||||
$this->oLogger->Write('ticket: '.$sTicket);
|
||||
|
||||
$sToken = \base64_encode($sLogin.' '.\MailSo\Base\Utils::Hmac($sTicket, $sPassword));
|
||||
$sToken = \base64_encode($sLogin.' '.\hash_hmac('md5', $sTicket, $sPassword));
|
||||
|
||||
if ($this->oLogger)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue