Last Updated on Jan 30, 2024 by Nurul Afsar
For added security, the Zen Cart developer’s removed the autocomplete functionality for admin accounts requiring all admins to have to memorize their passwords. Combined the with 15 minute timeout and required password changes every 3 months, this can be quite annoying. It would have been nice if they made this optional…
Anyways, getting the functionality back is very simple. If you have not modified the file /YOUR_ADMIN/login.php, you can replace it with the file contained in this Zip archive:
Otherwise, continue on and follow the modification instructions below.
First, open /YOUR_ADMIN/login.php and find:
<input style="float: left" type="text" id="admin_name" name="admin_name" value="<?php echo zen_output_string($admin_name); ?>" autocomplete="off" />
Replace with:
<input style="float: left" type="text" id="admin_name" name="admin_name" value="<?php echo zen_output_string($admin_name); ?>" autocomplete="on" />
In the same file find:
<input style="float: left" type="password" id="admin_pass" name="admin_pass" value="" autocomplete="off" />
Replace with:
<input style="float: left" type="password" id="admin_pass" name="admin_pass" value="" autocomplete="on" />
Save your file and the functionality should be restored. Remember to never “remember passwords” on shared computers or to share your admin URL with anyone other than those you trust.