Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(app): Error details missing when user type is unknown (#1493)
<!--- Provide a general summary of your changes in the Title above --> ## Description <!--- Describe your changes in detail --> Errors list is missing in error details when user type is unknown ## Related Issue(s) - #1491 ## Verification - [x] **Your** code builds clean without any errors or warnings - [x] Manual testing done (required) - [ ] Relevant automated test added (if you find this hard, leave it and we'll help out) ## Documentation - [ ] Documentation is updated (either in `docs`-directory, Altinnpedia or a separate linked PR in [altinn-studio-docs.](https://github.com/Altinn/altinn-studio-docs), if applicable) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Bug Fixes** - Improved handling of unknown user types in the authentication middleware, ensuring clearer response management. - **Refactor** - Enhanced code clarity by separating response retrieval and writing processes in the user type validation logic. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
- Loading branch information