Fix #3228
diff --git a/system/core/Security.php b/system/core/Security.php
index 782d3e8..0dc74a2 100755
--- a/system/core/Security.php
+++ b/system/core/Security.php
@@ -974,8 +974,6 @@
 			$this->_csrf_hash = ($rand === FALSE)
 				? md5(uniqid(mt_rand(), TRUE))
 				: bin2hex($rand);
-
-			$this->csrf_set_cookie();
 		}
 
 		return $this->_csrf_hash;