Skip to content

Commit

Permalink
Merge pull request #11 from oscarotero/patch-1
Browse files Browse the repository at this point in the history
fixed undefined constant
  • Loading branch information
paragonie-scott committed Feb 2, 2016
2 parents 11f7c0b + 3d4dda8 commit 606274f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AntiCSRF.php
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ public function validateRequest()
// We mixed in the client IP address to generate the output
$expected = $this->encode(
\hash_hmac(
self::HASH_ALGO,
$this->hashAlgo,
isset($this->server['REMOTE_ADDR'])
? $this->server['REMOTE_ADDR']
: '127.0.0.1',
Expand Down

0 comments on commit 606274f

Please sign in to comment.