-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Description
At the moment, the User model includes internal methods hasPassword and hashPassword in the browserified bundle too. The implementation uses bcryptjs, which adds about 50kb to the bundle (un-minified) and another 650kb through crypto-browserify (see #1247).
I'd like us to consider whether these two methods make sense to be called in the browser, how should we replicate changes made to a user model, and ideally come up with an implementation that does not require bcryptjs when running in the browser.