Xardline1 Posted November 4, 2023 Share Posted November 4, 2023 (edited) Hello everyone, how can I add a password line to the registration greeting? I tried to add the line private function ``` sendConfirmationMail(Customer $customer, $plainTextPassword) '{passwd}' => $plainTextPassword ``` But when I click Save, it displays an HTTP ERROR 500 page and no message is sent to the soap. I also tried $clearTextPassword, same problem. If you do not add these changes to the classes/form/CustomerPersister.php file, then everything works fine, but you receive an email without a password, I have attached screenshots. 1 screen - result when specifying data; 2 screen - result without specified data. Presta version 8.1.0 Edited November 4, 2023 by Xardline1 Add screens (see edit history) Link to comment Share on other sites More sharing options...
endriu107 Posted November 4, 2023 Share Posted November 4, 2023 This option was removed from prestashop a long time ago for users safety reason, why you want to restore it? Link to comment Share on other sites More sharing options...
Xardline1 Posted November 4, 2023 Author Share Posted November 4, 2023 1 hour ago, endriu107 said: Эта опция была удалена из Prestashop давным-давно по соображениям безопасности пользователей, почему вы хотите ее восстановить? I have full access to the site's hard code. I'm ready to restore it, just tell me how I can do this? I want a person to always be able to see his password in his email and not have to constantly recover it. There is nothing important on my site that a person can lose (no need to think about any kind of security) Link to comment Share on other sites More sharing options...
endriu107 Posted November 5, 2023 Share Posted November 5, 2023 Users personal data are not important? Check in 1.6 password was added to email so you can copy solution. Link to comment Share on other sites More sharing options...
Xardline1 Posted November 5, 2023 Author Share Posted November 5, 2023 33 minutes ago, endriu107 said: Users personal data are not important? Check in 1.6 password was added to email so you can copy solution. How can I copy it from there? Was the password sent by email? Do not remember that. Will this work for 8.1.0? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now