mirror of
https://github.com/Dannecron/ich-lerne-deutsch.git
synced 2025-12-26 05:12:34 +03:00
Improve check auth in middleware. Some fixes.
This commit is contained in:
@@ -39,10 +39,6 @@ new Vue({
|
||||
store,
|
||||
render: h => h(App),
|
||||
created: function onApplicationCreated() {
|
||||
firebase.auth().onAuthStateChanged((user) => {
|
||||
this.$store.dispatch('stateChanged', user);
|
||||
});
|
||||
|
||||
this.$store.dispatch('loadArticles');
|
||||
},
|
||||
}).$mount('#app');
|
||||
|
||||
Reference in New Issue
Block a user