Atlas-Rhythm / Hive

A general backend project for modding communities.
GNU Affero General Public License v3.0
11 stars 1 forks source link

Add Middleware for restricting non-authenticated users #71

Closed Caeden117 closed 3 years ago

Caeden117 commented 3 years ago

This PR introduces GuestRestrictionMiddleware, a piece of middleware that prevents non-authenticated users (I called them "guests") to selected routes. It introduces two new config options, both of which are documented in README.