[WebAPI] create customer account via WebAPI still need email confirmation #39254
Labels
Issue: ready for confirmation
Reported on 2.4.7
Indicates original Magento version for the Issue report.
Preconditions and environment
customer/create_account/confirm
to1
and clear cache to let this setting take effectSteps to reproduce
Create a customer account via WebAPI as described in official document.
Expected result
No confirmation required if customer account is created via WebAPI.
Actual result
Try login on frontend and you will see a "This account is not confirmed" message.
Verify the created customer in
customer_entity
table, theconfirmation
field is notNULL
.Additional information
BUT, check AccountManagementApi.php and di.xml
From the above code, the
confirmation
should beNULL
if account is created via WebAPI evencustomer/create_account/confirm
is set to1
.But this code forgot to save customer after setting confirmation to
null
.Related: Confirmation Paradox Bug(#39255)
Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: