Skip to content

Session.login().then in the UsersCtrl never gets a response #5

Description

@AaronV

Great example! However, I noticed that the Session.login().then function called from the UsersCtrl doesn't recieve a response object. I believe since the Session.login().then in the Sessions factory gets called first, it gets the response and doesn't send it to the additional .then() in the UsersCtrl.

This causes the login logic defined in UsersCtrl to think it failed, when in fact it succeeded.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions