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

authResolver doesn't resolve for public routes #15

Open joerozek opened 9 years ago

joerozek commented 9 years ago

Wrong object being passed into isPublic. This is causing isPublic to return false for public routes. When you are not logged in this means the current user promise never resolves and the state's resolve object never fully resolve.