mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Since we have added additional constraints to the database around case sensitivity, we now want to discourage people from working with the Accounts collection directly and provide an API for changing certain fields in a correct way. Methods that do database checks before and after the operation: Accounts.setUsername Accounts.addEmail Accounts.removeEmail Methods that make sure to use a case-insensitive query to retrieve the user Accounts.findUserByUsername Accounts.findUserByEmail PR #5024