You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that the collective formbuilder expects a CSRF token:
100 public function __construct(HtmlBuilder $html, UrlGenerator $url, Factory $view, $csrfToken)
However using the example gives:
Missing argument 4 for Collective\Html\FormBuilder::__construct(), called in /home/lloy0076/Documents/Programming/AGIX/Drakes/NewLines/vendor/manavo/laravel-bootstrap-forms/src/Manavo/BootstrapForms/BootstrapFormsServiceProvider.php on line 37
It seems that the collective formbuilder expects a CSRF token:
However using the example gives:
Note the composer.lock:
That is to say, I'm up to date with Laravel Collective (as of 22 February 2016 0806 AU-CST) and using the development branch, "dev-laravel52".
I did a bit of happy hacking and fixed line 100 in FormBuilder.php to have a default CSRF of "" - which incidentally fixed this issue.
I'm not sure if this is an issue with this class - personally I think CSRF tokens are optional...but what do others say?
The text was updated successfully, but these errors were encountered: