userapp-io / userapp-angular

AngularJS module that adds user authentication to your app with UserApp.
https://userapp.io
MIT License
233 stars 84 forks source link

logout does not invoke callback properly #2

Closed jack-kerouac closed 10 years ago

timothyej commented 10 years ago

The reason for why the logout wasn't asynchronous was to quickly log out the user without waiting for UserApp. But it may be smart to actually confirm that the session token was destroyed before proceeding. I've included this in my latest commit so I won't merge this.

The latest update isn't uploaded to our site yet since we're waiting to deploy the web app util next week, so you'd have to download the file and host it yourself.

Thanks for the fix!