Closed DonkeyKongJr closed 6 years ago
Login and Logout Page/Mechanismn was added with #25.
Left open is protecting routes by logged in state and redirect to login page when user isn't authenticated. After login was successful the user should be redirected to the restaurant route.
The navigation guard could be global, right @Opiskull?
https://router.vuejs.org/guide/advanced/navigation-guards.html#global-guards
Route Guards were introduced with #29
Is your feature request related to a problem? Please describe. Since Firebase should be secured by authentication every user who wants to access the data should be authenticated. Currently the user registration supports email and password combination.
Describe the solution you'd like A dedicated Login view where user can authenticate themselve by email and password. If the user wants to access a secured route and isn't authenticated he sould be redirected to the login page. The Login Page should be the new default/start page.