Skip to content

Commit 9da4adc

Browse files
MKoddethijskh
authored andcommitted
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 b4d04a3 commit 9da4adc

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)