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

Update profile on Drupal user changes #10

Closed
fgm opened this issue Jun 15, 2017 · 1 comment
Closed

Update profile on Drupal user changes #10

fgm opened this issue Jun 15, 2017 · 1 comment

Comments

@fgm
Copy link
Owner

fgm commented Jun 15, 2017

Currently, profile is not updated when changes happen on the Drupal side: meteor_user() catches the changes and notifies the package, which then pushes an "update" to the account-drupal_updates collection.

The observer on that collection will then emit a accounts-drupal:refresh:event event causing the client to log-in again. However, until meteor/meteor-feature-requests#68 (née meteor/meteor#7213 ) is implemented, this login will use the original user profile information, instead of reflecting changes possibly applied during the Drupal user change.

(Upstream issue: 55306)

fgm added a commit that referenced this issue Jul 6, 2017
fgm added a commit that referenced this issue Jul 13, 2017
- note that if a client is logged, they will re-login upon update, regenerating services.accounts-drupal.
@fgm
Copy link
Owner Author

fgm commented Oct 26, 2017

Fixed by PR #11

@fgm fgm closed this as completed Oct 26, 2017
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

1 participant