Skip to content

firebase-auth Trigger an event on _locationChanged > _authHandler when there is no login or logout. #117

@MartinGerritsen

Description

@MartinGerritsen

Right now, locally, I have touched the firebase-auth.html on line 178 adding an else to the list.

if (this._queuedLogin) {
    this.login(this._queuedLogin.params, this._queuedLogin.options);
    this._queuedLogin = null;
} else if (!this.statusKnown && this.autoLogin) {
    this.login();
} else {
   this.fire('nonaction');
}

If something like this could be added to the basic firebase-auth that would be great!
I am using it to trigger showing a login icon or a logged icon - without it you first see the login icon and you see it jump to the logged icon.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions