Closed bryandease closed 7 years ago
if ( ! function_exists( 'csrf_token' )) { function csrf_token() { return app()->make('session.store')->getToken(); } }
should now be:
if ( ! function_exists( 'csrf_token' )) { function csrf_token() { return app()->make('session')->token(); } }
Should be fixed now. There is no need to create a csrf_token on any Laravel 5, this was a Laravel 4 thing.
if ( ! function_exists( 'csrf_token' )) { function csrf_token() { return app()->make('session.store')->getToken(); } }
should now be:
if ( ! function_exists( 'csrf_token' )) { function csrf_token() { return app()->make('session')->token(); } }