GoogleWebComponents / firebase-element

Web components for the Firebase Web API
https://elements.polymer-project.org/elements/firebase-element
95 stars 72 forks source link

firebase-auth on-login callback repetition #113

Closed redbassett closed 8 years ago

redbassett commented 8 years ago

Currently, any method I provide for a callback in the on-login attribute of a firebase-auth element gets called once when the page loads while already logged in (makes sense since the session is being checked) but twice when a login actually occurs. Is there a way to prevent the double call, and preferably assign a callback to just a successful login, not every page load?

redbassett commented 8 years ago

This issue was resolved in 37d1f69293f8dd37fa63ff9796fe6cde7c46d55a.