Commit e5e7af82 authored by Taylor Otwell's avatar Taylor Otwell

Fix check.

parent 4d0de14b
......@@ -31,7 +31,7 @@ class CsrfMiddleware implements Middleware {
*/
protected function tokensMatch($request)
{
return $request->session()->token() != $request->input('_token');
return $request->session()->token() == $request->input('_token');
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment