Tropht / ALInventoryApp

0 stars 0 forks source link

Add Auth #4

Closed acywatson closed 7 years ago

acywatson commented 7 years ago

-Added necessary firebase files for deployment with firebase tools (CLI) -Added AuthService to check if users are logged in and get current user -Added LoginController to manage the login page -Initialized Firebase (Tools) in the app (index.html - footer) -Added global listener for $stateChangeStart to detect when users attempt to access /admin -Added global listener for onAuthStateChanged (firebase) to show/hide Sign Out Button