Accounts.setPassword does not re-subscribe user again


#1

Scenario: Whenever, I make an update of user data (users collection) through Web Application (Meteor), the Mobile App should trigger the change via subscription.

Result: It works perfectly, when I made change first name, last name, gender, … but it does not work when I reset the password. Whenever, I set new password to a user (Accounts.setPassword) Mobile App does not trigger or re-subscribe again (Meteor.user()).

Purpose: To auto redirect user in Mobile App to login screen whenever the password has changed through Web App.

Thanks you in advance for your help.

Thanks,
Man Math


#2

The password is not part of the document pushed to the client. You probably want to look into logoutOtherClients