Skip to content

Comments

(Fix) Fortify hardcoding middleware aliases#5274

Merged
Roardom merged 1 commit intoHDInnovations:developmentfrom
Roardom:fix-middleware-aliases
Feb 17, 2026
Merged

(Fix) Fortify hardcoding middleware aliases#5274
Roardom merged 1 commit intoHDInnovations:developmentfrom
Roardom:fix-middleware-aliases

Conversation

@Roardom
Copy link
Collaborator

@Roardom Roardom commented Feb 15, 2026

Fortify hard codes middleware aliases, so we have no choice but to define them in our app. With the exception of auth middleware, which fortify allows us to define ourselves.

@what-the-diff
Copy link

what-the-diff bot commented Feb 15, 2026

PR Summary

  • Middleware Inclusion
    Inclusion of RedirectIfAuthenticated middleware to enhance user authentication security.
  • Middleware Alias Creation
    Introduction of recognizable middleware shortcuts for 'guest' and 'throttle' in Kernel.php.
  • Authentication Configuration Update
    Addition of auth_middleware in configuration for specifying the Authenticate middleware, providing higher customization for authentication.

Fortify hard codes middleware aliases, so we have no choice but to define them in our app. With the exception of auth middleware, which fortify allows us to define ourselves.
@Roardom Roardom force-pushed the fix-middleware-aliases branch from d3b3203 to 3bc4129 Compare February 17, 2026 02:37
@Roardom Roardom merged commit fd63b96 into HDInnovations:development Feb 17, 2026
9 checks passed
@Roardom Roardom deleted the fix-middleware-aliases branch February 17, 2026 05:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant