Results 1 to 9 of 9
  1. #1
    Join Date
    Jun 2010
    Posts
    7
    Plugin Contributions
    0

    Default Old login password keeps appearing when I login to the admin

    When I login to the admin, the old login password appears instead of the new password. I type in the username and the old password appears. I then have to always paste the new password and it works fine. This happens every time I log in. Is there a way to fix this?
    I cleared my cache and cookies but it still happens.

  2. #2
    Join Date
    Oct 2011
    Location
    AZ
    Posts
    384
    Plugin Contributions
    0

    Default Re: Old login password keeps appearing when I login to the admin

    It sounds like you have your password saved. Almost all browsers give you this option when you log in to a site. You save it once and then next time you go to the site it autofills for you. You'll have to look at the browser that's doing it, and dig through your security settings until you find password saving and then delete it. Sorry that sounds vague, but each browser is different.

  3. #3
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Old login password keeps appearing when I login to the admin

    I don't believe you should be able to save the password in a browser beginning with Zencart version 1.5.0.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Old login password keeps appearing when I login to the admin

    Quote Originally Posted by stevesh View Post
    I don't believe you should be able to save the password in a browser beginning with Zencart version 1.5.0.
    Correct, unless they're using some sort of password assistance addon like KeepPass, which may auto-insert the password that the user has told it to memorize.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Feb 2008
    Location
    Amersham, Buckinghamshire, United Kingdom
    Posts
    141
    Plugin Contributions
    1

    Default Re: Old login password keeps appearing when I login to the admin

    Quote Originally Posted by DrByte View Post
    Correct, unless they're using some sort of password assistance addon like KeepPass, which may auto-insert the password that the user has told it to memorize.
    With 1.5, when you do the install the browser will remember (if you let it) the password you used. First time you login to admin you have to change the password, which because of the security in 1.5, doesn't trigger the browser to update it's password. So every time you login the browser will populate the password with the one you used on the original install.
    Having noticed this on a couple of installs, I was slightly naughty and on the install used the password I wanted, but missing the last letter. Then I added that letter on the first use password change. Now when i go to admin the browser remembers most of the password and I just add the extra letter.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Old login password keeps appearing when I login to the admin

    Um ... in 1.5, auto-complete=off was set in the admin login fields, so if yours is remembering any of that info, then it's because you've either added something to your browser which overrides that (as I mentioned earlier), or you've changed the PHP code to remove the autocomplete tag (maybe you installed a very old admin skin that doesn't have all the important updates included from 1.5 onward?).
    What you describe is not normal.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Feb 2008
    Location
    Amersham, Buckinghamshire, United Kingdom
    Posts
    141
    Plugin Contributions
    1

    Default Re: Old login password keeps appearing when I login to the admin

    Quote Originally Posted by DrByte View Post
    Um ... in 1.5, auto-complete=off was set in the admin login fields, so if yours is remembering any of that info, then it's because you've either added something to your browser which overrides that (as I mentioned earlier), or you've changed the PHP code to remove the autocomplete tag (maybe you installed a very old admin skin that doesn't have all the important updates included from 1.5 onward?).
    What you describe is not normal.
    A fresh clean install of 1.5 will remember the password from the install procedure - mine has.

  8. #8
    Join Date
    Feb 2008
    Location
    Amersham, Buckinghamshire, United Kingdom
    Posts
    141
    Plugin Contributions
    1

    Default Re: Old login password keeps appearing when I login to the admin

    Quote Originally Posted by David Allen View Post
    A fresh clean install of 1.5 will remember the password from the install procedure - mine has.
    Just checked the code -
    In zc_install/admin_setup_default.php the admin password is created with this field
    Code:
    <input type="password" id="admin_pass" name="admin_pass" tabindex="2" />
    whereas in admin/login.php the code is:
    Code:
    <input style="float: left" type="password" id="admin_pass" name="admin_pass" value="" autocomplete="off" />
    So the password can/will be remembered from the install.

    Regards
    David

  9. #9
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Old login password keeps appearing when I login to the admin

    I see.

    We'll fix that. Thanks.

    Meanwhile, to stop the old password from appearing, delete it from your browser's form autofill history.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. v150 Cant login when using the password reset function
    By mi16chap in forum Basic Configuration
    Replies: 3
    Last Post: 18 Sep 2012, 02:55 AM
  2. Replies: 4
    Last Post: 9 Apr 2011, 07:11 AM
  3. How can i reset the admin password w/o login?
    By ohadile in forum Installing on a Windows Server
    Replies: 3
    Last Post: 11 May 2009, 01:29 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR