Password
@adminjs/passwords
The password feature can be utilized to hash a user's password when editing it's record.
Installation
Next step is to add feature option to user resource
In the example above password
is User
property which holds encrypted password (we have to make it invisible to keep secure. newPassword
in passwordsFeature -> options
properties is a virtual field which keeps entered password and will be hashed before saving.
Last updated