Forums / Addon Admin Tools / Encrypted Master Password support

Encrypted Master Password support

Views: 53,602

Results 21 to 40 of 210
2 Mar 2013, 4:13 PM
#21
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,857
Plugin Contributions:
18

Encrypted Master Password support

Savvonet:

I tryed to add admin\user password check on header_php.php in includes/modules/pages/account_password, and it works fine, but with one bug:

If a customer (logged with normal mail and password) or an admin (logged with mail and master password) try to change account password, in old password field there is no longer a check, any word will be passed as "old password".This may be the main reason the originator did not include master password in this manner.
As stated in my earlier post, I think the forgotten password is the better option. Even if I personally add someone to a site while talking on the phone, my last step is to use the forgotten password function to send them a new password.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

9 Apr 2013, 4:09 AM
#22
newtozc32 avatar

newtozc32

New Zenner

Join Date:
Oct 2010
Location:
SoCal
Posts:
79
Plugin Contributions:
0

Re: Encrypted Master Password support

dbltoe:

The beauty of open source is that you can "massage" at will.
Personally, when someone forgets their password, I use the built-in forgotten password feature to send them a new one by email. I could see where a user might request something they can remember better than the ZC-generated one but I advise them to use a more secure password.

Where is this forgotten password feature you speak of?

9 Apr 2013, 9:57 AM
#23
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,725
Plugin Contributions:
56

Re: Encrypted Master Password support

index.php?main_page=password_forgotten

There is a link to this page on the login page (index.php?main_page=login) right under the email/password fields where existing customers log in.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

29 Apr 2013, 6:44 PM
#24
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,116
Plugin Contributions:
56

Re: Encrypted Master Password support

I just took a peek at this plugin and would like to propose a couple of modifications for the most recent version:

  1. Allow either a single admin user or all users in an admin group (or both) to have the customer-login access
  2. Add a session variable if the current session is an admin-login to allow an admin-login to have potentially different behavior
    I'd be happy to implement these changes; I just didn't want to step on anyone's feet.
30 Apr 2013, 12:11 AM
#25
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

Re: Encrypted Master Password support

lat9:

I just took a peek at this plugin and would like to propose a couple of modifications for the most recent version:

  1. Allow either a single admin user or all users in an admin group (or both) to have the customer-login access
  1. Add a session variable if the current session is an admin-login to allow an admin-login to have potentially different behavior

I'd be happy to implement these changes; I just didn't want to step on anyone's feet.
Yes, and yes. Both would be great features. Right now I had to hack the code to allow for 2 admin users to be able to log in. I would really like to see these changes implemented. Thanks!


Zen Cart and it's community are the best!!

30 Apr 2013, 8:09 PM
#26
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,116
Plugin Contributions:
56

Re: Encrypted Master Password support

lankeeyankee:

Yes, and yes. Both would be great features. Right now I had to hack the code to allow for 2 admin users to be able to log in. I would really like to see these changes implemented. Thanks!

Done; v1.5.1 of the plugin has been submitted to the Plugins area ...

10 May 2013, 11:21 AM
#27
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,116
Plugin Contributions:
56

Re: Encrypted Master Password support

lat9:

Done; v1.5.1 of the plugin has been submitted to the Plugins area ...
... and is available for download.

16 May 2013, 8:55 PM
#28
paperman avatar

paperman

New Zenner

Join Date:
Apr 2011
Posts:
18
Plugin Contributions:
0

Re: Encrypted Master Password support

Hi Lat9

Just installed that version of header_php.php on a fresh install of 1.5.0 and get the blank page issue noted in post 2 or 3 of this forum. When I revert to the basic mod then it works fine. I like the improvments you made but would like to use them on 1.5.0 as PCI is important to me. Is there any fix to that which I could apply to make this work on 1.5.0? Thanks for the great work.

Cheers

16 May 2013, 9:49 PM
#29
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,116
Plugin Contributions:
56

Re: Encrypted Master Password support

paperman, what's in the associate error log (in your /cache folder)?

16 May 2013, 10:09 PM
#30
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,116
Plugin Contributions:
56

Re: Encrypted Master Password support

Arggh! Never mind, paperman. This is what I get for not re-installing the plugin after I've been testing the failure cases.

Line#64 of /includes/modules/pages/login/header_php.php is currently:

      if (!defined('EMP_LOGIN_ADMIN_ID')) define ('EMP_LOGIN_ADMIN_ID', 1;  /*lat9-a*/

and should be changed to

      if (!defined('EMP_LOGIN_ADMIN_ID')) define ('EMP_LOGIN_ADMIN_ID', 1);  /*lat9-a*/

I'll get the update updated shortly.

20 May 2013, 1:37 PM
#31
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,116
Plugin Contributions:
56

Re: Encrypted Master Password support

lat9:

Arggh! Never mind, paperman. This is what I get for not re-installing the plugin after I've been testing the failure cases.

Line#64 of /includes/modules/pages/login/header_php.php is currently:

  if (!defined('EMP_LOGIN_ADMIN_ID')) define ('EMP_LOGIN_ADMIN_ID', 1;  /*lat9-a*/
> and should be changed to
> ```
      if (!defined('EMP_LOGIN_ADMIN_ID')) define ('EMP_LOGIN_ADMIN_ID', 1);  /*lat9-a*/

I'll get the update updated shortly.
v1.5.2 is now available in the Plugins area ...

20 May 2013, 6:09 PM
#32
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,857
Plugin Contributions:
18

Re: Encrypted Master Password support

I have a sign above my desk that says...

Pobody's Nerfect!

:P

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

7 Jul 2013, 4:39 PM
#33
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,116
Plugin Contributions:
56

Re: Encrypted Master Password support

I've submitted v1.6.0 to the plugins area:

  • Added SQL statements to move the two configuration values for the plugin into the database.
  • Added "Place Order" button in your admin's Customers->Customers to allow an enabled EMP admin to more easily log into a customer's account.
4 Aug 2013, 5:13 PM
#34
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,116
Plugin Contributions:
56

Re: Encrypted Master Password support

lat9:

I've submitted v1.6.0 to the plugins area:

  • Added SQL statements to move the two configuration values for the plugin into the database.
  • Added "Place Order" button in your admin's Customers->Customers to allow an enabled EMP admin to more easily log into a customer's account.

v1.6.0 is now available in the Plugins area ...

9 Sep 2013, 10:10 AM
#35
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,116
Plugin Contributions:
56

Re: Encrypted Master Password support

v1.7.0 has been submitted to the plugins:

  1. An entry is now made to the admin_activity_log when an EMP admin logs into a customer's account.
  2. This version includes the common orders-status update processing and introduces the updated_by field to the orders_status_history table (if it's not already there).
  3. If an EMP admin places an order on a customer's behalf, the updated_by field is set to contain the admin's ID and login name.
17 Sep 2013, 11:00 AM
#36
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,116
Plugin Contributions:
56

Re: Encrypted Master Password support

v1.7.0 is now available in the Plugins area.

17 Sep 2013, 10:15 PM
#37
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,876
Plugin Contributions:
7

Re: Encrypted Master Password support

Just updated from 1.2 to 1.7 and the only issue I have is regarding the customers Place Order function.
Locally (xampp 1.82-2, admin no SSL) it works.
Real site (admin uses SSL) the shop front gives a session timeout warning, it does not auto login.

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

18 Sep 2013, 8:17 AM
#38
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,876
Plugin Contributions:
7

Re: Encrypted Master Password support

Real site (admin uses SSL) the shop front gives a session timeout warning, it does not auto login.
...because the link was being built without SSL due to admin/includes/configure.php
define('ENABLE_SSL_CATALOG', 'true');
was set to false (incorrectly).

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

18 Sep 2013, 11:07 AM
#39
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,116
Plugin Contributions:
56

Re: Encrypted Master Password support

torvista:

...because the link was being built without SSL due to admin/includes/configure.php
define('ENABLE_SSL_CATALOG', 'true');
was set to false (incorrectly).
Ah, that would do it! I was puzzling over your report.

3 Dec 2013, 6:53 PM
#40
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,116
Plugin Contributions:
56

Re: Encrypted Master Password support

I just submitted v1.8.0 to the Plugins; nothing earth-shattering, just pulling in some downwardly-compatible changes introduced by Zen Cart v1.5.2.