scramble icon indicating copy to clipboard operation
scramble copied to clipboard

Include middleware from groups in attachAuthenticationException

Open cumhur-pulse opened this issue 1 year ago • 0 comments

  • Modified attachAuthenticationException to account for middleware coming from middleware groups.
  • Manually expanded middleware groups to include group-specific middleware when checking for auth middleware.
  • Ensured that AuthenticationException is correctly added to the method's exceptions when auth middleware is present in the route or its associated middleware groups.

cumhur-pulse avatar Aug 31 '24 16:08 cumhur-pulse