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

fix: Set shop manager password on invitation #5173

Merged
merged 4 commits into from
Jun 9, 2019

Conversation

loan-laux
Copy link
Collaborator

@loan-laux loan-laux commented May 9, 2019

Resolves #5172
Impact: major
Type: bugfix

Issue

Clicking the sign up link in the invitation e-mail to create a new shop shows the sign-in form instead of the "set password" one.

EDIT: This also affects newly invited managers for existing shops. Much more problematic than a "niche" marketplace issue.

Solution

Fix the condition in imports/plugins/core/accounts/client/components/login.js. Also fix redirection condition by checking if user is admin of any shop at all, and not just the primary one.

Breaking changes

None.

Testing

  1. Invite a new shop owner.
  2. Successfully sign up.
  3. Do a victory dance.

@loan-laux loan-laux changed the title fix: Set merchant password on invitation fix: Set shop manager password on invitation May 12, 2019
@loan-laux
Copy link
Collaborator Author

Force-pushed to undo some commits that I'd made on the wrong branch.

@aldeed aldeed merged commit 7b48a70 into reactioncommerce:develop Jun 9, 2019
@jeffcorpuz jeffcorpuz mentioned this pull request Jul 2, 2019
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

Successfully merging this pull request may close these issues.

2 participants