Skip to content

Commit a212f06

Browse files
committed
Ensure display of Authn errors
In SF 6, the new exception handler does not show the exception message in the exception handler. Rather, these errors are handled at another point (authn listeners). Also see: https://stackoverflow.com/questions/40174266/not-all-exceptions-catched-within-the-error-handler
1 parent b7db09b commit a212f06

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Surfnet/StepupSelfService/SelfServiceBundle/Exception/MissingRequiredAttributeException.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020

2121
namespace Surfnet\StepupSelfService\SelfServiceBundle\Exception;
2222

23-
use Symfony\Component\Security\Core\Exception\AuthenticationException;
24-
25-
final class MissingRequiredAttributeException extends AuthenticationException
23+
final class MissingRequiredAttributeException extends RuntimeException
2624
{
2725
}

0 commit comments

Comments
 (0)