Strict check of signature

This commit is contained in:
Mengdi Gao 2016-04-11 00:26:34 +08:00
parent 976a76a3b5
commit 20422956e8

View File

@ -96,7 +96,7 @@ class Mailgun{
return hash_equals($hmac, $sig); return hash_equals($hmac, $sig);
} }
else { else {
return ($hmac == $sig); return ($hmac === $sig);
} }
} }