Fix another getToken call
This commit is contained in:
1 parent
8c99401c58
commit
23223c6e28
1 file changed
+1
-1
+1
-1
@@ -198,7 +198,7 @@ class FormBuilder
|
||||
*/
|
||||
public function token()
|
||||
{
|
||||
$token = ! empty($this->csrfToken) ? $this->csrfToken : $this->session->getToken();
|
||||
$token = ! empty($this->csrfToken) ? $this->csrfToken : $this->session->token();
|
||||
|
||||
return $this->hidden('_token', $token);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user