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

Cart email submit allows users to create a front-end account with no permissions #2991

Closed
mjniland1 opened this issue Oct 7, 2022 · 1 comment
Assignees
Labels
bug commerce4 Issues related to Commerce v4

Comments

@mjniland1
Copy link

What happened?

Steps to reproduce

On the front end:

  1. Enter your email at checkout and hit continue (/shop/checkout/email)
  2. Request a password reset on that email. This request will fail. (/shop/customer/forgot-password)
  3. Run the password reset again on the same email. This request will succeed. (/shop/customer/forgot-password)
  4. Click the password reset link that you've received via email and set a password.
  5. Login to your account with that email / pw combo (/shop/customer/sign-in)
  6. Default User Group permission wont be applied to the new account (cp>settings>users>settings>Default User Group)

Expected behavior

The process should stop at #2.

Actual behavior

A user can create a front-end user account without permissions or a username.

Craft CMS version

Craft Pro 4.2.5.2

Craft Commerce version

4.1.2

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

@nfourtythree
Copy link
Contributor

Hi @mjniland1

Thank you for raising the issue.

This was actually an issue in Craft's core. We have created a fix for the problem, the fix will be included in the next release of Craft.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug commerce4 Issues related to Commerce v4
Projects
None yet
Development

No branches or pull requests

2 participants