Skip to content

Commit 0d3cff6

Browse files
committed
-
1 parent c2128fb commit 0d3cff6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

reference/configuration/security.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,10 @@ User enumeration is a common security issue where attackers infer valid username
8484
based on error messages. For example, a message like "This user does not exist"
8585
shown by your login form reveals whether a username is valid.
8686

87-
This options lets you hide some/all errors related to user accounts (e.g. blocked
88-
or expired accounts) to avoid this issue. Instead, these errors will return a
89-
generic ``BadCredentialsException``. The value of this option can be any of:
87+
This option lets you hide some or all errors related to user accounts
88+
(e.g. blocked or expired accounts) to prevent this issue. Instead, these
89+
errors will trigger a generic ``BadCredentialsException``. The value of this
90+
option can be one of the following:
9091

9192
* ``'none'``: hides all user-related security exceptions;
9293
* ``'account_status'``: shows account-related exceptions (e.g. blocked or expired

0 commit comments

Comments
 (0)