AbanteCart Community

Shopping Cart Operations => Support => Extension Support => Topic started by: mr_zub on October 19, 2016, 07:33:28 PM

Title: Why email is not encrypted in the database?
Post by: mr_zub on October 19, 2016, 07:33:28 PM
Hello,
I encountered such a problem,

-AbanteCart Version 1.2.8
-Encryption Data Manager  set ON
-Insert new customer

Information such as customer addresses, phone numbers, fax numbers, etc. are encrypted
but not encrypted email ...
Why?
Title: Re: Why email is not encrypted in the database?
Post by: mr_zub on October 29, 2016, 09:29:28 AM
IMO it is a bug.

Bad sequence of function calls
editCustomer() and editCustomerNotifications() probably.
Title: Re: Why email is not encrypted in the database?
Post by: eCommerce Core on October 31, 2016, 07:07:25 AM
Email is part of data that is encrypted.


$this->enc_data['customers'] = array (
'id'     => 'customer_id',
'fields' => array (
'telephone',
'fax',
'email'
),
);


Are you sure you not confusing with login field? By default login will be same as email, unless it is configured to use login name
You can force login to be changed for customers that have that.
Title: Re: Why email is not encrypted in the database?
Post by: eCommerce Core on October 31, 2016, 07:50:45 AM
Quote from: mr_zub on October 29, 2016, 09:29:28 AM
IMO it is a bug.

Bad sequence of function calls
editCustomer() and editCustomerNotifications() probably.

I see that. Thank you. We will check.