dijkr / Copia

Laravel-project with CMS
0 stars 0 forks source link

Redirect when not a CMS-user #19

Open dijkr opened 1 year ago

dijkr commented 1 year ago

This is not something for the current state of the project, but when the project has a general authentication system build in for login at the frontpage.

Whenever the frontend get its own authentication, it would be nice if /cms is only available for logged-in user, who are also a CMS-user. Whenever they are not logged-in, or not a CMS-user, they should be redirected to /.