diff --git a/src/Csrf.php b/src/Csrf.php
index <HASH>..<HASH> 100755
--- a/src/Csrf.php
+++ b/src/Csrf.php
@@ -56,7 +56,7 @@ class Csrf implements CsrfInterface
      */
     public function getTokenField($name = null)
     {
-        $token = $this->getToken();
+        $token = $this->getToken($name);
         return '<input type="hidden" name="csrftoken" value="' . $token . '" />';
     }
Fixed bug with named token in getTokenField