165 Commits

Author SHA1 Message Date
Taylor Otwell
19f8537829 fix namespace 2016-05-26 13:53:39 -05:00
Joseph Silber
945052508f Use the Authenticate middleware from core 2016-05-26 13:07:11 -04:00
Taylor Otwell
3ddaf3f901 Merge pull request #3783 from JosephSilber/authenticate
[5.3] Make the Authenticate middleware throw an AuthenticationException
2016-05-26 08:16:54 -05:00
Taylor Otwell
c332ad9582 fix typo 2016-05-25 09:24:11 -05:00
Joseph Silber
6dfc0229b2 Make the Authenticate middleware throw an AuthenticationException 2016-05-22 14:50:39 -04:00
Graham Campbell
728151f5de Applied fixes from StyleCI 2016-05-13 14:19:42 -04:00
Graham Campbell
332731f88b Added the new bindings middleware 2016-05-13 19:19:27 +01:00
Taylor Otwell
749528db0c remove unneeded trait 2016-04-28 10:28:26 -05:00
Graham Campbell
020bf231ba Merge branch 'master' into develop 2016-04-27 14:00:46 +01:00
Juan Martinez
0d8e71cd92 Update Kernel.php 2016-04-01 16:00:36 -05:00
Graham Campbell
541e66789b Fixed typo 2016-04-01 20:27:17 +01:00
Joseph Silber
39ba051a78 Add support for the authorize middleware and AuthorizesRequests trait 2016-03-30 11:58:14 -04:00
Graham Campbell
0909dc2572 Merge branch 'master' into develop 2016-03-30 13:11:35 +01:00
Joseph Silber
f7d05cbbaa Set the default driver from the Authenticate middleware 2016-03-28 09:48:35 -04:00
Taylor Otwell
5c30c98db9 just use web group by default 2016-03-23 17:04:42 -05:00
Taylor Otwell
1d5e88d0fb update default routes file 2016-03-22 13:49:35 -05:00
Joseph Silber
703197e27a Allow passing multiple gaurds to the auth middleware 2016-03-17 10:22:19 -07:00
Jad Joubran
590593e0af Fixed order of password validation in registration 2016-03-02 20:48:02 +01:00
Taylor Otwell
62d62a0524 update method call 2016-02-22 22:19:31 -06: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
phecho
99b97ca7ca Change redirecTo in AuthController 2015-12-25 15:41:28 +08:00
Taylor Otwell
3eb8613ff8 Comment fix. 2015-12-14 09:44:17 -06:00
Taylor Otwell
171de278d7 Note of explanation. 2015-12-13 14:31:22 -06:00
Taylor Otwell
a98759b264 Applied fixes from StyleCI 2015-12-11 17:50:16 -05:00
Taylor Otwell
b70dbaf7a1 define an api group as an example 2015-12-11 16:49:20 -06:00
Taylor Otwell
fa3495a28d comment changes 2015-12-11 16:31:19 -06:00
Taylor Otwell
527306a14c Remove terminology for "web routes". 2015-12-09 13:36:47 -06:00
Taylor Otwell
587e514719 Middleware groups, define web group, configure routes file. 2015-12-09 11:12:27 -06:00
Taylor Otwell
1d0853b638 Add throttle middleware. 2015-12-07 21:27:16 -06:00
Taylor Otwell
2ea2ae0f3f allow guard to be specified on middleaware 2015-12-05 21:56:17 -06:00
Taylor Otwell
c2c8ab6f5f line length 2015-12-05 21:52:46 -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
f426638445 Merge branch 'master' into develop 2015-12-02 18:24:27 +00:00
Graham Campbell
6722b10051 Fixed typo 2015-12-02 18:24:00 +00:00
Taylor Otwell
4eb28ba069 base controller doesn't have to be abstract. 2015-12-02 08:21:23 -06: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
58bc5273b8 add property by default 2015-10-29 09:59:32 -05:00
Taylor Otwell
c82c5eceda acl changes 2015-08-29 16:36:22 -05:00
Taylor Otwell
901a45fd96 added throttles logins trait by default 2015-07-01 13:30:05 -05:00
Taylor Otwell
f9ed4ff7ac Override cookie encrypter by default. 2015-06-08 21:16:01 -05:00
Nicolas Widart
58db25b9f5 Use the ::class notation
Prefix the namespace with \
2015-06-05 15:45:08 +02: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
b21d263e84 Use DispatchesJobs. 2015-05-09 17:11:52 -05:00
Patrick Brouwers
f1beeb4d3b Remove redundant Closure namespace import in VerifyCsrfToken 2015-05-09 14:25:42 +02:00
Taylor Otwell
89e2d8e174 Auth controller stubs. 2015-05-01 23:04:32 -05: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