Skip to content

Commit 4ae9694

Browse files
authored
Merge pull request #2027 from Workoverflow/patch-1
Fix CSRF hash regeneration
2 parents b62fa0a + 1b11917 commit 4ae9694

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

system/Security/Security.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ public function CSRFVerify(RequestInterface $request)
221221
if ($this->CSRFRegenerate)
222222
{
223223
// Nothing should last forever
224+
$this->CSRFHash = null;
224225
unset($_COOKIE[$this->CSRFCookieName]);
225226
}
226227

0 commit comments

Comments
 (0)