Skip to content

User passwords in the browser #1249

@bajtos

Description

@bajtos

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions