Skip to content

Commit

Permalink
Update FormBuilder.php
Browse files Browse the repository at this point in the history
  • Loading branch information
robindirksen1 authored Jun 22, 2017
1 parent dad3a76 commit ed45888
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FormBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ public function close()
*/
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);
}
Expand Down

0 comments on commit ed45888

Please sign in to comment.