We are working on enabling bahmni appointments to run on OpenMRS. This application leverages logged-in user’s
username. It sets the current logged-in username in the cookies and uses it later.
This works for all the users but the
admin user. We see that
admin user doesn’t have a username and the cookie is set to
null. We checked out on bahmni-demo and found out that the
admin is populated but not on OpenMRS Demo.
Any specific reason why the
admin user doesn’t have a username?