Fix getToken rename issue in 5.4
This commit is contained in:
1 parent
92f3ba71c5
commit
8c99401c58
1 file changed
+1
-1
@@ -49,7 +49,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());
|
||||
$form = new FormBuilder($app['html'], $app['url'], $app['view'], $app['session.store']->token());
|
||||
|
||||
return $form->setSessionStore($app['session.store']);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user