Fix method call.
This commit is contained in:
parent
e5e7af82a6
commit
714f6a5574
|
|
@ -15,7 +15,7 @@ class CsrfMiddleware implements Middleware {
|
||||||
*/
|
*/
|
||||||
public function handle($request, Closure $next)
|
public function handle($request, Closure $next)
|
||||||
{
|
{
|
||||||
if ($request->method == 'GET' || $this->tokensMatch($request))
|
if ($request->method() == 'GET' || $this->tokensMatch($request))
|
||||||
{
|
{
|
||||||
return $next($request);
|
return $next($request);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue