MIF_E31222691/app/Http/Middleware
Jacob Bennett 5b3c5f3f4e Don't return a login page to a JSON request
Currently, any unauthorized API requests that pass through the `auth` middleware get a redirect to the login page. Adding the `wantsJson` flag to the conditional corrects this behavior.
2016-01-22 10:01:39 -06:00
..
Authenticate.php Don't return a login page to a JSON request 2016-01-22 10:01:39 -06:00
EncryptCookies.php Override cookie encrypter by default. 2015-06-08 21:16:01 -05:00
RedirectIfAuthenticated.php allow guard to be specified on middleaware 2015-12-05 21:56:17 -06:00
VerifyCsrfToken.php Additional cs fixes 2015-06-01 15:46:45 +01:00