For security reasons, the latest OpenMRS now has the autocomplete=”off” html attribute on its login page. This will prevent the users from seeing a dropdown of previously logged in users.
Unfortunately, this will cost developers precious seconds when writing and testing code.
I found this “Autocomplete On” greasemonkey script to re-enable autocomplete on all forms. However, I want Firefox to fill in the admin/test username and password on the form for me, and even with this script it wasn’t doing that.
Luckily I was able to easily craft a new greasemonkey script based on that example. This script inserts “admin” and “test” into all login pages on any OpenMRS site. Click here to download and install my script: openmrs-login.js (after installing the greasemonkey plugin).