Skip to content

Commit 714f6a5

Browse files
committed
Fix method call.
1 parent e5e7af8 commit 714f6a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Middleware/CsrfMiddleware.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class CsrfMiddleware implements Middleware {
1515
*/
1616
public function handle($request, Closure $next)
1717
{
18-
if ($request->method == 'GET' || $this->tokensMatch($request))
18+
if ($request->method() == 'GET' || $this->tokensMatch($request))
1919
{
2020
return $next($request);
2121
}

0 commit comments

Comments
 (0)