Commit 39a4b32
Updates the Exception Handler in order to allow custom AuthenticationException message. (#21575)
Example use case: the user account gets disabled while the user is logged in the app and we want to logout the user and throw an exception with an appropriate message.
Before the PR, in the handler the custom message is overwritten before sending the response.1 parent fd88ff8 commit 39a4b32
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | | - | |
| 219 | + | |
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
| |||
0 commit comments