Commit Graph

679 Commits

Author SHA1 Message Date
Taylor Otwell e471dd1cf0 rename class 2020-07-14 15:57:11 -05:00
Taylor Otwell a14a1208ad remove alias that isnt needed 2020-07-14 15:48:22 -05:00
Taylor Otwell e265156bc6 simplify line 2020-07-14 15:12:37 -05:00
Taylor Otwell a9623d3596 update wording 2020-07-14 14:10:07 -05:00
Taylor Otwell ce3e006d61 remove unneeded property. can use ignore method 2020-07-14 14:07:25 -05:00
Taylor Otwell a9abc85301 consolidate to a single method 2020-07-14 14:00:47 -05:00
Taylor Otwell 880cc1d3d8 simplify default exception handler 2020-07-14 10:10:03 -05:00
Muah adb7eacf9e
[8.x] Multiple guards for RedirectIfAuthenticated (#5329)
* Update RedirectIfAuthenticated.php

allow the middleware to have the same behavior as https://laravel.com/api/5.8/Illuminate/Auth/Middleware/Authenticate.html#method_authenticate

so now the guest middleware have the same footprint as auth ex.`guest:web,admin` instead of creating multiple lines to support different guards.

* Update RedirectIfAuthenticated.php
2020-06-29 10:21:36 -05:00
Taylor Otwell 58a98efb86 tweak route provider default settings 2020-06-24 12:47:56 -05:00
Taylor Otwell e0c4fd8b8a one line 2020-06-24 11:36:13 -05:00
Dries Vints a429eab2d4
Merge branch 'master' into develop 2020-06-16 14:56:56 +02:00
Taylor Otwell 5639581ea5 add basic trust host middleware 2020-05-18 16:50:22 -05:00
feek 7d62f500a7
chore: update typehint to be nullable (#5296)
By default, this property is null. Therefore, it should be marked as nullable
2020-05-04 08:31:39 -05:00
Taylor Otwell b9af2b2294 Use new factories
Use the new factories provided in 8.x
2020-04-21 10:12:39 -05:00
Taylor Otwell d53c56e4e0 remove unneeded parent boot calls 2020-04-14 16:14:22 -05:00
André Ricard c7a0002432
Fix the code indent of object operators (#5258)
This commit fixes the code indent of object operators, as following the framework code standards -> 2.4. Indenting
2020-03-11 07:37:46 -05:00
Taylor Otwell 0bec06cd45 formatting 2019-12-27 08:56:53 -06:00
Barry vd. Heuvel c222f6d04f CS 2019-12-26 19:54:10 +01:00
Barry vd. Heuvel 860ec9f2a4 Use config instead of middleware property 2019-12-26 19:46:41 +01:00
Barry vd. Heuvel bee0e8c94c Add HandleCors middleware 2019-12-24 22:28:20 +01:00
Graham Campbell db940594ad Merge branch 'master' into develop 2019-12-24 17:45:25 +00:00
Graham Campbell 846f7a193a
Correct exception handler doc (#5187) 2019-12-24 17:35:58 +00:00
Taylor Otwell 12c28822f4 one liner 2019-12-20 14:14:01 -06:00
Taylor Otwell 3ee0065bcd remove unnecessary variable 2019-12-20 14:10:38 -06:00
Taylor Otwell b5bb91fea7 Remove controllers that are generated by laravel/ui package.
These controllers will be installed and generated by the laravel/ui (2.0) package in Laravel 7.x.
2019-12-20 11:48:38 -06:00
Graham Campbell 583d1fa773 [7.x] Remove register in auth provider (#5182)
* Remove register in auth provider

* Update AuthServiceProvider.php

* Update Kernel.php
2019-12-19 09:36:06 -06:00
Taylor Otwell 7d70bfe828
Utilize Authentication Middleware Contract (#5181)
* adjust auth middleware to point to contract

* remove middleware priority
2019-12-18 13:44:16 -06:00
Taylor Otwell f589a7e897 Merge branch 'master' into develop 2019-12-18 12:24:10 -06:00
Taylor Otwell 140d4d9b0a use class name to be consistent with web middleware 2019-12-18 12:02:46 -06:00
Can Vural 40f93daa83
Update redirectTo return type PHPDoc 2019-12-14 11:48:14 +01:00
Taylor Otwell 972f3cd283
DRY up path (#5173) 2019-12-10 08:59:27 -06:00
Graham Campbell 2913a55d87 [7.x] Switch to Symfony 5 (#5157)
* Update exception handler

* Explictly specify 'lax' same site config

* Use the null secure option for session cookies
2019-11-25 08:46:29 -06:00
Taylor Otwell 9bc23ee468 formatting 2019-10-08 07:35:48 -05:00
Dries Vints ba3aae6c33
Implement password confirmation 2019-10-08 13:45:40 +02:00
Dries Vints 4036f17416
Remove middleware from password reset
It's not necessary for the user to be logged out when resetting their password. This allows users to reset their password while logged in. Can be used in combination with the new RequiresPassword middleware.
2019-10-08 13:39:57 +02:00
Dries Vints e656932002 Apply fixes from StyleCI (#5100) 2019-09-10 17:26:00 +02:00
Dries Vints 0dd31baf2a
Merge branch 'master' into develop 2019-07-25 00:49:45 -04:00
Gergő D. Nagy 7c9e5ea412 [5.9] Add ThrottleRequests to the priority array (#5057)
* add ThrottleRequests to the priority array

* Move ThrottleRequests under Authenticate middleware
2019-07-12 07:59:55 -06:00
Gary Green e71f50f664 Move TrustProxies to highest priority - fixes maintenance mode ip whitelist if behind proxy e.g. Cloudflare (#5055) 2019-07-10 09:11:28 -06:00
Matt Hanley f8e455e358 Fix type hint for case of trusting all proxies (string) (#5025) 2019-05-14 07:28:37 -06:00
Taylor Otwell f4ff4f4176 comment 2019-02-27 07:24:37 -06:00
Taylor Otwell 44d274174f
Revert "[5.8] Modify RedirectIfAuthenticated middleware to accept multiple guards" 2019-02-24 18:51:07 -06:00
Dries Vints 3c53897ee4
Merge branch 'master' into develop 2019-02-15 18:47:27 +01:00
Eddie Palmans 2f37ba38fa Attribute casting for 'email_verified_at' on User model stub 2019-02-04 14:28:05 +01:00
Eddie Palmans 098cf4600b Date mutator for 'email_verified_at' attribute on User model stub 2019-02-04 13:06:44 +01:00
Sjors e0ae7914b9 change order of boot and register method 2019-01-29 14:40:47 +01:00
Taylor Otwell 247f7f9619
Update RedirectIfAuthenticated.php 2019-01-16 09:05:51 -06:00
Te7a-Houdini bb79dda1ff Modify RedirectIfAuthenticated middleware to accept multiple guards 2019-01-14 17:47:22 +02:00
Taylor Otwell 4070dc98d4 fix conflicts 2018-12-18 09:06:40 -06:00
Carl Olsen 6d75f17af5
Update Kernel.php 2018-11-20 11:19:31 -05:00