Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
salamander committed Dec 20, 2018
1 parent 6995eab commit 72800b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Entrance.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,6 @@ public function chatRoom() {
* @return bool
*/
public function isLegalChecksum($body, $curTime, $checksumPost) {
return sha1($this->appSecrt . md5($body), $curTime) === $checksumPost;
return sha1($this->appSecrt . md5($body) . $curTime) === $checksumPost;
}
}

0 comments on commit 72800b4

Please sign in to comment.