spatie/laravel-demo-mode

Demo url Accessable by logged in user

Closed this issue · 2 comments

Hi,
This might not be an issue but i'm a bit confused.
When a user is logged in he can access the URL which has demoMode middleware.
Isn't the middleware was suppose to restrict the URL to be accessible by anyone (Except the IP's given in config array)

image

I think it is a pretty good assumption that when you are logged in to the application you will be allowed too. Before you are logged in you should be within the authorized-ip scope.

Dear contributor,

because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.