You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a admin logs in, all the non-guest accounts are published to the client. This causes the browser to hang as there could be large number of "customers".
Steps to Reproduce
Run reaction.
Register a account.
Log out
Sign-in as admin.
Check the minimongo database, in which the Accounts collection will have the account of the customer created in step 2.
Clients of mine running a Reaction store with 29,000+ users are unable to log in as admin because of this issue. Literally noticed it yesterday, nice timing!
Issue Description
When a admin logs in, all the non-guest accounts are published to the client. This causes the browser to hang as there could be large number of "customers".
Steps to Reproduce
Possible Solution
From here https://github.com/reactioncommerce/reaction/blame/12cd570f9460766e7adeb7f1625b4a954b8ae87e/server/publications/collections/accounts.js#L25
I see that initially we were not publishing "guest" and "customer", but now we are publishing the "customer" accounts, maybe we can just revert this as we don't show the "customer" accounts to the admin anywhere.
Versions
v 1.13.0
The text was updated successfully, but these errors were encountered: