- Improved clarity of how to use the loginWithPassword (#38)
- Test coverage is now correctly gathered from both client & server
- Add support to accounts that are identified by email (fixes #16)
- Dependency was refactored
Important changes:
- All log ins made by the default Meteor.loginWithPassword method won't be affected anymore by this dependency. Every client who did not report the rememberMe setting will stay logged in to match the default Meteor's behaviour.
Breaking changes:
activate
method was removed. There is no need to activate RememberMe on the server anymore.changeAccountsSystem
will now throw an error when provided parameter is not a valid instance of the AccountsClient
- Change client methods to arrow functions to prevent wrong context issues (Issue #6)
- loginWithPassword method for custom accounts was throwing an error if accounts were not stored in
Meteor.remoteUsers
(whoops!)
New feature:
- Add support for custom AccountsClient (introduction)
Related improvements:
- Check if onLogin callback from the dependency is already present
- Check if loginAttempt method was already overridden in provided instance
- Inform client if the functionality was not activated on the server
- Client side unit tests
- Remove 'lodash' dependency, replace usages with ES6
- Remove 'crypto-js' dependency, use 'crypto' instead
- Decrease the server bundle size significantly by the above changes
- Print correct error in case of already disallowed attempt
- Add server side tests
- Initial release