[bug]: Require Emails Confirmation behavior issue #4265
Open
Description
Preconditions and environment
- Magento version: v2.4.7
- Pwa Studio v14.0.0
Steps to reproduce
- Config. core_config_data: customer/create_account/confirm is 1
- Guest
- Add any product to cart.
- Go to https://example.com/checkout
- Click to "Sign In" button
- Click to "Create An Account" button
- 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
Path:
https://www.example.com/checkout
Form submission result:
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”.