ollieread/multiauth

[4.0] Improve Auth middleware

ollieread opened this issue · 1 comments

The current middleware allows for specifying multiple guards, though I'd wager that is a super fringe case.

The middleware should be improved to accept one, and only one guard.

  • Improve guest middleware
  • Improve auth middleware

I'm going to explore the possibility of generating guard specific middleware as an extra, as there may be other factors to consider for the particular guards.