Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with Auth.currentUser() #103

Open
joaoribeirost opened this issue Apr 8, 2016 · 2 comments
Open

Problem with Auth.currentUser() #103

joaoribeirost opened this issue Apr 8, 2016 · 2 comments

Comments

@joaoribeirost
Copy link

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

@vik-y
Copy link

vik-y commented May 28, 2016

I know it's too late but were you able to solve this issue? Let me know if you haven't already and close this issue if its already solved.

@rockandruby
Copy link

Still doesn't work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants