Prestashop: Can't access FO admin after account was transfered guest to customer by the merchant

Created on 3 Mar 2020  路  4Comments  路  Source: PrestaShop/PrestaShop

Describe the bug

After transforming the Guest account to a Customer through the back office, the customer's merchant can't access his account since the password is randomly generated and never transferred to him.

Expected behavior

After transforming the Guest account to a Customer through the back office, the customer's merchant should be able to access his account.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Command a product with a Guest account
  2. Go to Customer view page or Order view page (1.7.6)
  3. Click on "Transform guest account to customer account"
  4. It sends an email with email and generates a random password
  5. A customer receives an email with only his email and no password

image

So the customer can't access his account, except by resetting his password.

Why?
The old template used to send in the password but for security reasons, we have hidden it on the new template design.

Solution

Add a link to reset the password (the same from password_query template) with a new wording.
image

Additional information

  • PrestaShop version: N/A
  • PHP version: N/A
1.7.0.0 Bug Customer Email theme Fixed Minor

Most helpful comment

All 4 comments

@MatShir

It's not a regression there was the same issue with old email templates and old PS version

capture d'茅cran_2432

Hi @MatShir,

Here's the PR: https://github.com/PrestaShop/PrestaShop/pull/5889 to hide the password variable from emails.

Thanks!

Fixed by #18234

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Fabuloops picture Fabuloops  路  3Comments

khouloudbelguith picture khouloudbelguith  路  3Comments

centoasa picture centoasa  路  3Comments

matks picture matks  路  3Comments

hiousi picture hiousi  路  3Comments