Skip to content

Commit 1fdd7c1

Browse files
committed
remove documentation for the hide_user_not_found_option
1 parent 1d9f907 commit 1fdd7c1

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)