Joseph Silber
703197e27a
Allow passing multiple gaurds to the auth middleware
2016-03-17 10:22:19 -07:00
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
Taylor Otwell
2ea2ae0f3f
allow guard to be specified on middleaware
2015-12-05 21:56:17 -06:00
Taylor Otwell
ba7137dcb0
update routes and middleware
2015-12-03 23:11:04 -06:00
Taylor Otwell
8414d45cdc
update middleware and config
2015-12-03 12:25:38 -06:00
Graham Campbell
bf3785d0bc
Additional cs fixes
...
Signed-off-by: Graham Campbell <graham@cachethq.io>
2015-06-01 15:46:45 +01:00
Taylor Otwell
8909e75552
Some spacing.
2015-03-02 15:31:27 -06:00
Taylor Otwell
4c78958b5b
Tweak a few things.
2015-02-22 22:37:16 -06:00
Taylor Otwell
cc2139ac91
Tweaking a few things.
2015-02-22 21:56:03 -06:00
Taylor Otwell
f424b87a63
PSR-2 for app.
2015-02-22 20:47:03 -06:00
Taylor Otwell
caa166f5d6
Remove middleware interface.
2015-01-05 13:16:21 -06:00
Taylor Otwell
ca2f02284c
Rename middleware to more "action" words.
2014-11-11 12:51:55 -06:00