I
I
Ivan Kondratiev2016-05-31 12:04:02
Laravel
Ivan Kondratiev, 2016-05-31 12:04:02

How to get csrf_token() on 404 page in laravel 5.2?

Can you tell me why csrf_token() returns an empty string when a 404 exception is handled?

<meta name="csrf-token" content="{{ csrf_token() }}" />

content = empty ((

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2016-05-31
@kentuck1213

https://laravel.com/docs/master/routing#csrf-x-csr...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question