Skip to content

Commit

Permalink
Disable CSRF for the login page
Browse files Browse the repository at this point in the history
  • Loading branch information
barryo committed Jan 10, 2019
1 parent 2f05ce4 commit c06ac1d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/Http/Middleware/VerifyCsrfToken.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@

class VerifyCsrfToken extends Middleware {

protected $except = [
'login',
];

/**
* Handle an incoming request.
*
Expand Down

0 comments on commit c06ac1d

Please sign in to comment.