busy-human / vue-firebase-auth-plugins

A middleware that can be installed in your Vue project for authentication
Other
3 stars 0 forks source link

Protected page is shown for a moment for unauthorized user #7

Open tarkhil opened 3 years ago

tarkhil commented 3 years ago

https://github.com/tarkhil/authjs branch vue-firebase-auth-plugins-instal (I know about the missing l; it's 3:21 AM here and I'm working on heavy insomnia)

Login and logout works just fine, but the main, "protected" page is shown for a brief before engine understands that user is not logged in.

I do understand that it's easy to load every component for reverse engineering; but I don't like to point it out that clearly!