Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a5d2f49

Browse filesBrowse files
authored
Custom User Checker, AuthenticationException is allowed
According to https://github.com/symfony/security-core/blob/master/Authentication/AuthenticationProviderManager.php#L80-L93, and my local tests, both works.
1 parent 4e7663f commit a5d2f49
Copy full SHA for a5d2f49

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎security/user_checkers.rst

Copy file name to clipboardExpand all lines: security/user_checkers.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ User checkers are classes that must implement the
1616
defines two methods called ``checkPreAuth()`` and ``checkPostAuth()`` to
1717
perform checks before and after user authentication. If one or more conditions
1818
are not met, an exception should be thrown which extends the
19-
:class:`Symfony\\Component\\Security\\Core\\Exception\\AccountStatusException`::
19+
:class:`Symfony\\Component\\Security\\Core\\Exception\\AccountStatusException`: or :class:`Symfony\Component\Security\Core\Exception\AuthenticationException`::
2020

2121
namespace App\Security;
2222

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.