KonaKart Community Forum

Installation / Configuration => Programming of KonaKart => Topic started by: larryan on May 05, 2010, 04:16:26 pm

Title: send password back to customer
Post by: larryan on May 05, 2010, 04:16:26 pm
Hi all
I want to send the password back to the customer when he/she forgot it. I use KKAdminIf to get AdminCustomer like KKAdminIf.getCustomerForEmail(adminSessionId, email), then I can get password by AdminCustomer.getPassword(). But the password is an encrypted one. How can I get a decrypted password?
Please help to point out.
Thanks
Larry
Title: Re: send password back to customer
Post by: trevor on May 05, 2010, 04:44:17 pm
KonaKart encrypts passwords using one way encryption which means that they cannot be decrypted. Customers that have forgotten their passwords have to be sent a new password.
Title: Re: send password back to customer
Post by: larryan on May 05, 2010, 06:51:33 pm
Quote from: trevor on May 05, 2010, 04:44:17 pm
KonaKart encrypts passwords using one way encryption which means that they cannot be decrypted. Customers that have forgotten their passwords have to be sent a new password.


trevor,
Thanks you for your answer.
If password cannot be decrypted, why we need getPassword() method?
Thanks
Larry