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
brainmaniac
3671ad399d
changed syntax for validation
...
Changed the syntax for the validation to be more aligned to the proposed way of implementing custom validations in the docs: https://laravel.com/docs/5.7/validation#custom-validation-rules
2018-10-16 22:36:12 +02:00
Dries Vints
6f3aa7a4c5
Don't redirect for api calls
...
When calling api routes the Authenticate middleware attempts to redirect you to the login page. If you expect JSON back or don't have auth routes then you don't want this to happen. By re-using the logic from Laravel's exception handler on which format to output we can also determine wether to redirect the user to the login page or give them a JSON error response.
2018-10-12 15:40:15 +02:00
Taylor Otwell
1cb18d11ac
Merge pull request #4794 from jakebathman/change-password-min-length-to-8
...
[5.8] Change password min length to 8
2018-10-05 14:23:33 -05:00
jakebathman
325ae7ac69
Update `RegisterController` password validation rule and associated lang file
2018-10-05 13:54:15 -05:00
Oliver Payne
52fe45dd7b
Fix 'resent' ambiguity
2018-09-16 17:32:31 +02:00
Taylor Otwell
9838f79d2c
wip
2018-09-08 11:06:07 -05:00
Matt Hollis
04960ed8be
Update Kernel.php
2018-09-07 16:24:35 -05:00
Matt Hollis
7f6ec77e69
Update Kernel.php
...
StyleCI fixes
2018-09-07 16:22:40 -05:00
Matt Hollis
0eb1a8f3bc
Update Kernel.php
2018-09-07 16:20:54 -05:00
Matt Hollis
b354a35272
Update HttpKernel to use Authenticate middleware under App namespace
...
The `Authenticate` middleware is intended to be called in a specific order before applying developer-listed middleware. In 5.7, it was changed to `App\Http\Middleware\Authenticate` but the priority still lists it as living under `Illuminate\Auth\Middleware\Authenticate`.
This proposed fix moves that priority array to `App\Http\Kernel` and changes the reference to the userland class.
2018-09-07 15:58:40 -05:00
Laurence Ioannou
8c3e7603eb
Update VerificationController.php
2018-09-07 19:44:33 +10:00
Taylor Otwell
ed3c8b2d64
fix stub
2018-09-06 08:11:07 -05:00
Kazim P
f41814be1f
Removing unnecessary use from User Model
2018-09-06 09:34:14 +05:30
Eliurkis Diaz
2c5633d334
Remove unnecessary use on verification controller
2018-09-05 00:24:52 -04:00
Taylor Otwell
6246ab0963
update stub
2018-09-04 12:00:54 -05:00
Taylor Otwell
bf9836a785
Merge branch 'master' into develop
2018-07-19 07:48:44 -05:00
Tobias
6bd50e79a9
Adding boilerplate maintenance middleware with excepted URIs array
2018-07-12 01:13:44 +02:00
Taylor Otwell
b65c8245f7
formatting
2018-07-03 09:39:43 -05:00
Barry vd. Heuvel
76af90b50c
Add addHttpCookie to VerifyCsrfToken
2018-07-03 16:37:01 +02:00
Taylor Otwell
cd594395d9
add signed
2018-06-21 11:13:00 -05:00
Taylor Otwell
4957bd5e0c
stub in import
2018-06-21 11:10:17 -05:00
Taylor Otwell
d6b6e706b1
add event registration
2018-06-21 11:09:58 -05:00
Taylor Otwell
69e92d6454
initial pass
2018-06-21 11:08:49 -05:00
Viktor Szépe
2683de7082
Request::HEADER_X_FORWARDED_ALL is an int
...
=30
2018-04-06 20:15:18 +02:00
Viktor Szépe
20b9daa8f3
Request::HEADER_X_FORWARDED_ALL is an integer
...
it is int(30)
2018-04-06 20:13:20 +02:00
Andrew
283413b256
update handler
...
remove comment suggesting to send reports to bug trackers in this method
2018-03-24 03:12:17 -05:00
Taylor Otwell
4369e9144c
add middleware
2018-03-14 12:40:35 -05:00
Taylor Otwell
a14e62325c
customizable redirect on auth failure
2018-03-13 16:09:47 -05:00
Ricard
3332ff4cb2
add argon support to create method in RegisterController
2018-02-10 22:03:08 +01:00
Taylor Otwell
260a8ab2d0
wording
2017-12-19 08:21:38 -06:00
Taylor Otwell
0512abee6b
Merge pull request #4515 from dunglas/add-set-cache-headers-middleware
...
[5.6] Add the SetCacheHeaders middleware
2017-12-19 08:11:53 -06:00
Chris Fidao
e823795325
using correct header to use "ALL" x-forwarded-* headers
2017-12-19 06:52:00 -06:00
Chris Fidao
6779a2759e
Trusted proxy to version 4.0 for laravel 5.6
2017-12-19 06:48:46 -06:00
Taylor Otwell
dabd0686be
Update Kernel.php
2017-12-18 19:30:09 -06:00
Taylor Otwell
bcaeb32430
Update Kernel.php
2017-12-18 19:29:49 -06:00
Kévin Dunglas
6e9c0c8852
Add the SetCacheHeaders middleware
2017-12-18 16:31:33 +01:00
Taylor Otwell
134eafd12c
remove things that aren't usually customized
2017-07-19 17:45:57 -05:00
Taylor Otwell
396634857e
use exception status
2017-07-19 17:26:48 -05:00
Taylor Otwell
c2e3cb9065
tweak default handler
2017-07-19 16:21:03 -05:00
Taylor Otwell
ebc18e3aef
update comment
2017-07-17 09:12:08 -05:00
Taylor Otwell
5d54c21ea8
auto loads commands
2017-07-17 09:11:10 -05:00
DCzajkowski
1270a0b3a2
Fixed CI
2017-07-15 19:48:06 +02:00
Taylor Otwell
d75800052d
change default
2017-07-11 16:53:04 -05:00
Taylor Otwell
d0ce75926f
Merge branch 'master' into develop
2017-07-11 13:26:38 -05:00
Taylor Otwell
8999e8745e
tweak method
2017-07-06 12:28:57 -05:00
Taylor Otwell
cec1b1bf94
fix error code
2017-07-06 12:27:35 -05:00
Taylor Otwell
4611d2bf31
stub listeners property
2017-07-06 12:08:40 -05:00
Taylor Otwell
3310063b59
add validation to exception handler
2017-07-06 11:49:51 -05:00
Lucas Michot
8ceb2fddb7
Fix docblock.
2017-07-03 11:17:19 +02:00
Brian Retterer
c9e47da895
Changes header keys for TrustProxies to non deprecated version
2017-06-28 17:52:56 -04:00
Mohamed Said
ef5bfb1dae
update JSON error message
2017-05-25 09:48:50 +02:00
Taylor Otwell
11dfcf6d1a
fix conflicts
2017-05-07 09:56:20 -05:00
Taylor Otwell
758392c30f
clean up exception handler
2017-05-06 16:11:24 -04:00
Ilya Kudin
9aeef9812a
More clear way to assign middleware in controller
...
Assign guest middleware to LoginController using documented way https://laravel.com/docs/5.4/controllers#controller-middleware
to avoid confusing with $options array values meaning.
2017-04-18 19:13:35 +07:00
Taylor Otwell
2f111d54ba
Merge branch 'master' into develop
2017-04-17 15:30:50 -05:00
Laurence Ioannou
99fca4daef
Update RegisterController.php
2017-04-07 21:11:39 +01:00
Taylor Otwell
4696e7bcb6
fix conflicts
2017-04-07 08:11:06 -05:00
Taylor Otwell
33c4cab6b7
adjust wording
2017-03-29 10:06:39 -05:00
Taylor Otwell
e23a1d284f
add trust proxy middleware
2017-03-29 10:05:16 -05:00
Taylor Otwell
605ffb9ba9
rename example event
2017-03-25 21:17:15 -05:00
Fabrício Kneipp
39338373b9
Change hard-coded '/login' string to named route
2017-02-17 15:36:28 -02:00
Taylor Otwell
54c5e1585a
Trim and convert strings to nulls.
2017-01-17 15:35:36 -06:00
Taylor Otwell
590257fbf6
Comment out by default.
2017-01-16 11:08:54 -06:00
Taylor Otwell
01ad31584b
add auth session middleware to web group
2017-01-16 11:08:54 -06:00
Taylor Otwell
52f0196fd3
Move broadcast channel registration to a routes file.
...
These are very similar to routes in that they are channel endpoints
that your application supports and they also fully support route model
binding in Laravel 5.4. Upgraded applications do not need to make this
change if they do not want to.
2016-12-30 15:46:05 -06:00
Graham Campbell
36875bb98e
Merge branch 'master' into develop
2016-12-29 13:03:32 +00:00
Taylor Otwell
077d404c5f
list post check middleware
2016-12-19 12:36:33 -06:00
Joseph Silber
3e661aa9f5
Use path for group directly
2016-12-08 21:08:33 -05:00
Joseph Silber
ef1ef753ba
Use fluent routes
2016-12-07 22:57:15 -05:00
Matt McDonald
fff42ec631
Redirect for registration only
2016-11-17 09:25:40 +00:00
Taylor Otwell
100c102fc3
convert binding
2016-10-28 10:09:03 -05:00
Taylor Otwell
fdef1b6fbe
Merge pull request #4007 from vinkla/patch-1
...
Use fullpath for validator facade
2016-10-17 09:00:25 -05:00
Vincent Klaiber
6325610070
Use fullpath for validator facade
...
Added fullpath import for the validator facade.
2016-10-17 15:55:26 +02:00
Ron Melkhior
6b73fae8d7
Add redirectTo attribute to the reset password controller
2016-10-16 03:44:24 +03:00
Taylor Otwell
31fce5c503
change wording
2016-09-06 20:49:16 -05:00
Francisco Daniel
30d0e2dcca
fix comments
2016-09-06 17:39:17 -05:00
Bryce Adams
78f4e85f74
Map API routes before Web routes
2016-09-05 20:54:21 +10:00
Taylor Otwell
f5dfa2057e
fix typo
2016-08-23 15:14:23 +02:00