mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2024-11-29 08:26:06 +03:00
Strict check of signature
This commit is contained in:
parent
976a76a3b5
commit
20422956e8
@ -96,7 +96,7 @@ class Mailgun{
|
|||||||
return hash_equals($hmac, $sig);
|
return hash_equals($hmac, $sig);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
return ($hmac == $sig);
|
return ($hmac === $sig);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user