Skip to content

Commit 220cc1a

Browse files
authored
Merge pull request #386 from samsonasik/security-csrf
remove unused $this->_csrf_hash assignment in Security::CSRFVerify()
2 parents 473aa90 + 66d52e3 commit 220cc1a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

system/Security/Security.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,6 @@ public function CSRFVerify(RequestInterface $request)
201201
{
202202
// Nothing should last forever
203203
unset($_COOKIE[$this->CSRFCookieName]);
204-
$this->_csrf_hash = null;
205204
}
206205

207206
$this->CSRFSetHash();

0 commit comments

Comments
 (0)