mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2025-04-04 05:33:34 +03:00
Strict check of signature
This commit is contained in:
parent
976a76a3b5
commit
20422956e8
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ class Mailgun{
|
|||
return hash_equals($hmac, $sig);
|
||||
}
|
||||
else {
|
||||
return ($hmac == $sig);
|
||||
return ($hmac === $sig);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue