Skip to content

Problem with Auth.currentUser() #103

@joaoribeirost

Description

@joaoribeirost

Hi there!

I'm having a problem with the usage of angular_devise. I'm developing an app that does payments and when the payment is done the notification goes direct to the server. However, i can't retrieve the payment information from the user object that Auth.currentUser() gives me, it's always stays nill.

In example:

  • I'm a logged in user (with payment=nil) and i make my payment.
  • I Navigate the app throught the views and the Auth.currentUser() always gives me a user with the payment=nil, but it should give me payment=1.

Why isn't it updating the data on the user object? Is there a implemented way to make this happen?

Thanks in advance,
João

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions