cloudspace / angular_devise

A small AngularJS Service to interact with Devise Authentication.
MIT License
401 stars 74 forks source link

devise:login and devise:new-session event broadcast multiple time #80

Open anand-clarion opened 8 years ago

anand-clarion commented 8 years ago

I am using angular_devise for login process and also use both event to set user data, but within that I faced an issue where upon successful login both event broadcast two or three time.

I am also tested with removing all Auth.currentUser() method (which can also generate devise:new-session.) but got the same issue

I am completely in maze.

Thanks for any help.