Skip to content

Commit c5e40dc

Browse files
committed
minor #21152 remove documentation for the hide_user_not_found_option (xabbuh)
This PR was merged into the 8.0 branch. Discussion ---------- remove documentation for the hide_user_not_found_option fixes #21150 Commits ------- 1fdd7c1 remove documentation for the hide_user_not_found_option
2 parents d02080d + 1fdd7c1 commit c5e40dc

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

reference/configuration/security.rst

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ key in your application configuration.
2323

2424
* `access_denied_url`_
2525
* `expose_security_errors`_
26-
* `hide_user_not_found`_ (deprecated)
2726
* `session_fixation_strategy`_
2827

2928
**Advanced Options**:
@@ -64,24 +63,6 @@ option can be one of the following:
6463
accounts) but only for users who provided the correct password;
6564
* ``'all'``: shows all security-related exceptions.
6665

67-
hide_user_not_found
68-
-------------------
69-
70-
**type**: ``boolean`` **default**: ``true``
71-
72-
.. deprecated:: 7.3
73-
74-
The ``hide_user_not_found`` option was deprecated in favor of the
75-
``expose_security_errors`` option in Symfony 7.3.
76-
77-
If ``true``, when a user is not found a generic exception of type
78-
:class:`Symfony\\Component\\Security\\Core\\Exception\\BadCredentialsException`
79-
is thrown with the message "Bad credentials".
80-
81-
If ``false``, the exception thrown is of type
82-
:class:`Symfony\\Component\\Security\\Core\\Exception\\UserNotFoundException`
83-
and it includes the given not found user identifier.
84-
8566
session_fixation_strategy
8667
-------------------------
8768

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy