Skip to content

[bug]: Require Emails Confirmation behavior issue #4265

Open
@coresh

Description

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”.

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions