Prevent non-logged-in users from accessing the PWA

I have a relative big number og screens in my PWA. When I am logged in and copy the url and paste it in another browser, it gives me access to the system without being logged in. This can be prevented by linking everyone where logged in user → email=empty to the log in screen. But this has to be done on every screen.
I was wondering if there was some other way to prevent non logged in users to access the PWA.

Sometimes the logic takes a second or two, so that unwanted people can se private information before being sent to the login screen.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.