Taylor Otwell
24766d479d
redirect to home if authed
2016-07-23 15:39:33 -05:00
Joseph Silber
945052508f
Use the Authenticate middleware from core
2016-05-26 13:07:11 -04:00
Joseph Silber
6dfc0229b2
Make the Authenticate middleware throw an AuthenticationException
2016-05-22 14:50:39 -04:00
Joseph Silber
f7d05cbbaa
Set the default driver from the Authenticate middleware
2016-03-28 09:48:35 -04:00
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
a690bb7552
fix conflicts
2015-12-03 12:26:26 -06:00
Taylor Otwell
8414d45cdc
update middleware and config
2015-12-03 12:25:38 -06:00
Graham Campbell
6722b10051
Fixed typo
2015-12-02 18:24:00 +00:00
Jelle Spekken
39f0cd727a
Create a new middlware instance instead of filter.
...
Shouldn't this be middleware?
2015-12-02 08:59:51 +01:00
Martin Bean
223191a9b0
Change redirect when authenticated
...
The route /home doesn’t exist in a default Laravel application, whereas / does.
2015-11-19 23:01:29 +00:00
Taylor Otwell
f9ed4ff7ac
Override cookie encrypter by default.
2015-06-08 21:16:01 -05:00
Graham Campbell
bf3785d0bc
Additional cs fixes
...
Signed-off-by: Graham Campbell <graham@cachethq.io>
2015-06-01 15:46:45 +01:00
Patrick Brouwers
f1beeb4d3b
Remove redundant Closure namespace import in VerifyCsrfToken
2015-05-09 14:25:42 +02:00
Taylor Otwell
89f568156f
No need to override this by default anymore.
2015-04-30 14:59:22 -05:00
Taylor Otwell
b22a1f48c8
Fix typo.
2015-04-30 14:19:00 -05:00
Taylor Otwell
4e8d5533bd
Stub out except property.
2015-04-30 14:18:27 -05:00
Taylor Otwell
8909e75552
Some spacing.
2015-03-02 15:31:27 -06:00
Taylor Otwell
c9c0380b34
Just use helper function in middleware.
2015-03-01 21:35:37 -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
c3e3d9dc4b
Include CSRF middleware in base install for easy override / whitelist.
...
This makes it easy to skip CSRF verification for things like web hooks
and such from GitHub / Stripe.
2015-01-26 19:32:22 -06:00
Taylor Otwell
caa166f5d6
Remove middleware interface.
2015-01-05 13:16:21 -06:00
Taylor Otwell
634c96d8d9
Rename dashboard to home.
2014-11-24 19:33:07 -06:00
Taylor Otwell
f8aeffc76a
Tweak welcome view.
2014-11-24 11:47:49 -06:00
Taylor Otwell
ca2f02284c
Rename middleware to more "action" words.
2014-11-11 12:51:55 -06:00
Taylor Otwell
e02e3456ed
Update middleware reference.
2014-11-10 13:43:44 -06:00
Taylor Otwell
a98c0d64c7
Move middleware.
2014-11-10 13:38:19 -06:00
Taylor Otwell
97287c89fe
Update middleware.
2014-11-10 13:25:08 -06:00
Taylor Otwell
bdb839222d
Check type of token.
2014-11-09 16:31:08 -06:00
Taylor Otwell
754ea2656c
Tweak wording.
2014-11-06 13:11:17 -06:00
Taylor Otwell
0c3f1c967c
Merge pull request #3118 from miclf/patch-1
...
Prevent TokenMismatchException for HTTP OPTIONS requests
2014-11-06 13:10:14 -06:00
Taylor Otwell
fcca359778
Working on middleware.
2014-11-05 11:18:00 -06:00
Michaël Lecerf
70d516b7ce
Prevent TokenMismatchException for HTTP OPTIONS requests
...
`OPTIONS` HTTP requests should be treated in the same way than `GET` requests by the `VerifyCsrfToken` middleware. Otherwise, an exception is thrown, thus preventing any `OPTIONS` route to work.
2014-11-05 13:09:12 +01:00
Taylor Otwell
9aed9debca
Tweak how console commands are registered.
2014-10-21 10:27:26 -05:00
Taylor Otwell
ec9edec9a2
Rename CSRF middleware.
2014-10-20 17:16:06 -05:00
Taylor Otwell
2542829d84
Rename auth middlewares.
2014-10-20 16:46:56 -05:00
Taylor Otwell
93b9415cd0
Update middleware.
2014-10-20 16:45:39 -05:00
Taylor Otwell
75393db929
Rename a few things.
2014-10-12 20:46:47 -05:00
Taylor Otwell
c6722869a8
Merge pull request #3061 from antonioribeiro/patch-2
...
Remove unused Route
2014-10-11 21:04:52 -05:00
Taylor Otwell
18301a1fd2
Merge pull request #3062 from jlaswell/patch-1
...
MaintenanceMiddleware implement Contract
2014-10-11 21:04:43 -05:00
Taylor Otwell
c39679bb86
Merge pull request #3065 from johnhout/patch-1
...
Added @throws TokenMismatchException
2014-10-11 21:04:26 -05:00
John in 't Hout
6c0b7916a4
Update CsrfMiddleware.php
2014-10-11 01:02:23 +02:00
John in 't Hout
409fa574fc
Update CsrfMiddleware.php
2014-10-10 22:56:00 +02:00
Taylor Otwell
714f6a5574
Fix method call.
2014-10-09 22:27:01 -05:00
Taylor Otwell
e5e7af82a6
Fix check.
2014-10-09 21:56:13 -05:00
Taylor Otwell
4d0de14b45
tweaks CSRF filter.
2014-10-09 21:50:52 -05:00