Fix getToken() for token().
This commit is contained in:
1 parent
a47a02b962
commit
b91158bae5
1 file changed
+1
-1
@@ -61,7 +61,7 @@ class HtmlServiceProvider extends ServiceProvider
|
||||
protected function registerFormBuilder()
|
||||
{
|
||||
$this->app->singleton('form', function ($app) {
|
||||
$form = new FormBuilder($app['html'], $app['url'], $app['view'], $app['session.store']->getToken(), $app['request']);
|
||||
$form = new FormBuilder($app['html'], $app['url'], $app['view'], $app['session.store']->token(), $app['request']);
|
||||
|
||||
return $form->setSessionStore($app['session.store']);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user