61 Commits

Author SHA1 Message Date
Taylor Otwell
7216fa7e9a a few wording changes 2022-05-05 14:52:25 -05:00
Taylor Otwell
d5d2b67dcb fix docblock 2022-04-12 09:34:17 -05:00
Taylor Otwell
a8cefc2dd1 update wording 2022-04-12 09:31:23 -05:00
Taylor Otwell
a507e14243 add levels to handler 2022-04-12 09:30:48 -05:00
Nuno Maduro
8a62ca2633
Improves generic types on the skeleton (#5740) 2021-12-03 09:04:57 -06:00
Can Vural
1542783002
PHPDoc types should be covariant with the parent type (#5714) 2021-10-25 13:16:13 -05:00
Hugo Clarke-Wing
f0de9fd996
Don't flash 'current_password' input (#5541)
* Don't flash `current_password` input

With starter packs like Jetstream, the `current_password` input is used.

I believe that adding `current_password` to the `$dontFlash` list by default would help to ensure new projects follow security best practices from the get-go.

* Update Handler.php

Co-authored-by: Taylor Otwell <taylor@laravel.com>
2021-02-19 09:09:51 -06:00
Taylor Otwell
4931af1400 add stub handler 2020-11-14 09:17:41 -06:00
Taylor Otwell
cfd428bfcb add dontReport property 2020-08-28 10:06:23 -05:00
Taylor Otwell
ce3e006d61 remove unneeded property. can use ignore method 2020-07-14 14:07:25 -05:00
Taylor Otwell
880cc1d3d8 simplify default exception handler 2020-07-14 10:10:03 -05: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
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
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
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
DCzajkowski
1270a0b3a2 Fixed CI 2017-07-15 19:48:06 +02: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
3310063b59 add validation to exception handler 2017-07-06 11:49:51 -05:00
Mohamed Said
ef5bfb1dae update JSON error message 2017-05-25 09:48:50 +02:00
Taylor Otwell
758392c30f clean up exception handler 2017-05-06 16:11:24 -04:00
Fabrício Kneipp
39338373b9 Change hard-coded '/login' string to named route 2017-02-17 15:36:28 -02:00
Taylor Otwell
f5dfa2057e fix typo 2016-08-23 15:14:23 +02:00
Taylor Otwell
6f6851946b fix conflicts 2016-08-23 15:08:01 +02:00
Lance Pioch
05235ee6bf Add TokenMismatchException to the dontReport array 2016-08-12 19:26:34 -04:00
Jordan Hoff
b7d684ef82 Compliance with commonly used phpmd rules 2016-08-03 10:10:35 -05:00
Taylor Otwell
677c1bdef3 import class 2016-07-10 16:35:03 -05:00
Taylor Otwell
e1696205c7 consistency 2016-07-10 11:35:03 -05:00
Taylor Otwell
b787586514 expects json 2016-06-22 08:48:58 -05:00
Joseph Silber
8e7672fc04 Return JSON for unauthenticated AJAX requests 2016-06-22 08:46:26 -04:00
Taylor Otwell
cedde2d934 cleaning up 2016-05-26 10:00:14 -05:00
Joseph Silber
d26314de20 Move the full response logic into the unauthenticated method 2016-05-25 09:49:44 -04:00
Joseph Silber
b069ff0d0c update exception handler with AuthenticationException 2016-05-22 15:00:52 -04:00
Taylor Otwell
c83c0b97f1 change exception 2016-01-14 10:08:49 -06:00
Taylor Otwell
2b940ce5ec return statement not needed here 2015-12-23 12:02:21 -06:00
Kennedy Tedesco
2e7560ab2a [5.2] Remove unused import 2015-12-21 20:23:09 -02:00
Graham Campbell
13b799196b Revert bad changes to the exception handler 2015-10-30 18:54:41 +00:00
Taylor Otwell
d15ab4b82e Alpha order. 2015-10-14 09:34:10 -05:00
Taylor Otwell
68738b5015 Change exceptions to ignore. 2015-10-14 09:09:56 -05:00
Taylor Otwell
37363acacd Clean up exception handler. Add new ignores. 2015-10-14 08:46:25 -05:00
Taylor Otwell
9c66082972 fix type hitns 2015-08-06 12:49:41 -05:00
Taylor Otwell
c131299976 fix conflicts 2015-08-06 12:43:57 -05:00
Taylor Otwell
395b69b540 fix status code 2015-08-06 12:07:35 -05:00
Taylor Otwell
da7376d461 working on exception handling for model not found. 2015-08-06 12:07:04 -05:00
Graham Campbell
614edf79d3 Fixed the exception handler 2015-07-13 19:51:20 +01:00
Graham Campbell
7e303014b6 Sync with 5.0 2015-06-15 22:22:23 +01:00
Nicolas Widart
58db25b9f5 Use the ::class notation
Prefix the namespace with \
2015-06-05 15:45:08 +02:00