File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -474,6 +474,12 @@ You can also manually hash a password by running:
474
474
Read more about all available hashers and password migration in
475
475
:doc: `security/passwords `.
476
476
477
+ .. versionadded :: 6.2
478
+
479
+ Starting from Symfony 6.2, the `SensitiveParameter PHP attribute `_ is
480
+ applied to all plain passwords and sensitive tokens so they don't appear
481
+ in log messages or stack traces.
482
+
477
483
.. _firewalls-authentication :
478
484
.. _a-authentication-firewalls :
479
485
@@ -2658,3 +2664,4 @@ Authorization (Denying Access)
2658
2664
.. _`SymfonyCastsVerifyEmailBundle` : https://github.com/symfonycasts/verify-email-bundle
2659
2665
.. _`HTTP Basic authentication` : https://en.wikipedia.org/wiki/Basic_access_authentication
2660
2666
.. _`Login CSRF attacks` : https://en.wikipedia.org/wiki/Cross-site_request_forgery#Forging_login_requests
2667
+ .. _`SensitiveParameter PHP attribute` : https://wiki.php.net/rfc/redact_parameters_in_back_traces
You can’t perform that action at this time.
0 commit comments