Permissions Denied After Logout

I am creating an AngularJs (1.6) application with a firebase database. The problem is this: when the user logs out, I get a lot of errors permission_denied.

If this may be helpful:

firebase.auth().signOut().then(function() {
    $state.go('login');
}, function(error) {});

Is there any way to avoid this?

+4
source share

Source: https://habr.com/ru/post/1668405/


All Articles