Author Topic: Why email is not encrypted in the database?  (Read 4172 times)

Offline mr_zub

  • Newbie
  • *
  • Posts: 2
  • Karma: +1/-0
    • View Profile
Why email is not encrypted in the database?
« 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?

Offline mr_zub

  • Newbie
  • *
  • Posts: 2
  • Karma: +1/-0
    • View Profile
Re: Why email is not encrypted in the database?
« Reply #1 on: October 29, 2016, 09:29:28 AM »
IMO it is a bug.

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

Offline eCommerce Core

  • Administrator
  • Hero Member
  • *****
  • Posts: 1602
  • Karma: +93/-1
    • View Profile
Re: Why email is not encrypted in the database?
« Reply #2 on: October 31, 2016, 07:07:25 AM »
Email is part of data that is encrypted.

Code: [Select]
$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.
“If you’re in the luckiest one per cent of humanity, you owe it to the rest of humanity to think about the other 99 per cent.”
― Warren Buffett

Offline eCommerce Core

  • Administrator
  • Hero Member
  • *****
  • Posts: 1602
  • Karma: +93/-1
    • View Profile
Re: Why email is not encrypted in the database?
« Reply #3 on: October 31, 2016, 07:50:45 AM »
IMO it is a bug.

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

I see that. Thank you. We will check.
“If you’re in the luckiest one per cent of humanity, you owe it to the rest of humanity to think about the other 99 per cent.”
― Warren Buffett

 

Powered by SMFPacks Social Login Mod