ollieread / multiauth

Laravel multi auth
441 stars 109 forks source link

[4.0] Improve Auth middleware #126

Closed ollieread closed 5 years ago

ollieread commented 5 years ago

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.

ollieread commented 5 years ago

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.