Mobile user: unable to login with registered credentials


we are having some lingering issue on mobile user management:

  1. the system allows registering duplicate mobile workers on the system.

  2. while trying to login with the registered credentials, it brings an error.

That’s very strange - it’s definitely not supposed to be possible to create duplicate mobile workers. This is the call that happens behind the scenes to check for the existence of a user. It relies on the couchdb view users/by_username - could this be an issue with that view being stale?