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

[bug]: Require Emails Confirmation behavior issue #4265

Open
5 tasks
coresh opened this issue May 14, 2024 · 1 comment
Open
5 tasks

[bug]: Require Emails Confirmation behavior issue #4265

coresh opened this issue May 14, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@coresh
Copy link

coresh commented May 14, 2024

Preconditions and environment

  • Magento version: v2.4.7
  • Pwa Studio v14.0.0

Steps to reproduce

  1. Config. core_config_data: customer/create_account/confirm is 1
  2. Guest
  3. Add any product to cart.
  4. Go to https://example.com/checkout
  5. Click to "Sign In" button
  6. Click to "Create An Account" button
  7. Submit form data

Expected result

The notification:

"Please check your email for confirmation key."

Actual result

The notification:

"An error has occurred. Please check the input and try again."

Additional information

Admin -> Stores -> Configuration -> Customer Configuration -> Create New Account Options
screenshot_20240514-102647
Path:
https://www.example.com/checkout
screenshot_20240514-102950
Form submission result:
screenshot_20240514-115246

Backend log output:

./var/log/exception.log <==
[2024-05-14T11:30:49.798471+00:00] report.ERROR: The account sign-in was incorrect or your account is disabled temporarily. Please wait and try again later.

GraphQL (2:3)
1: mutation SignInAfterCreate($email: String!, $password: String!) {
2:   generateCustomerToken(email: $email, password: $password) {
     ^
3:     token
 {"exception":"[object] (GraphQL\\Error\\Error(code: 0): The account sign-in was incorrect or your account is disabled temporarily. Please wait and try again later. at vendor/webonyx/graphql-php/src/Error/Error.php:155)
[previous exception] [object] (Magento\\Framework\\GraphQl\\Exception\\GraphQlAuthenticationException(code: 0): The account sign-in was incorrect or your account is disabled temporarily. Please wait and try again later. at vendor/magento/module-customer-graph-ql/Model/Resolver/GenerateCustomerToken.php:59)
[previous exception] [object] (Magento\\Framework\\Exception\\AuthenticationException(code: 0): The account sign-in was incorrect or your account is disabled temporarily. Please wait and try again later. at vendor/magento/module-integration/Model/CustomerTokenService.php:107)"} []
[2024-05-14T11:30:49.798471+00:00] report.ERROR: The account sign-in was incorrect or your account is disabled temporarily. Please wait and try again later.

Thank you

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
@coresh coresh added the bug Something isn't working label May 14, 2024
Copy link

m2-assistant bot commented May 14, 2024

Hi @coresh. Thank you for your report.
To speed up processing of this issue, make sure that you provided sufficient information.
Add a comment to assign the issue: @magento I am working on this


Join Magento Community Engineering Slack and ask your questions in #github channel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant