You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am sorry if this sounds like a stupid question but I honestly did not find anything on the npmjs package or anywhere except the documentation where it shows how to use features
I have a ResetToken model that has 3 fields, account_id, token_expiry_date and the token itself
I hash the tokens using argon2 and store it in the database
My sequelize model already has a beforeUpdate and beforeCreate hook that performs the hashing
When creating a new entry, all I have to do is input the raw token and it immediately stores it in its hash form
VIEWING
When viewing it shows me the hashed value of the token
What does @adminjs/passwords do exactly? The data will already be hashed at the model level, no?
In that features documentation it has 2 properties, encryptedPassword and password? Is this library suppoesd to be used when you are encrypting passwords instead of hashing them to hide the plaintext passwords?
The text was updated successfully, but these errors were encountered:
This is to allow you to change the password of users if you choose to manage them in the admin panel.
In that features documentation it has 2 properties, encryptedPassword and password
These are used to map values. password is a virtual property used to store the raw value before it is hashed, encryptedPassword is the actual property that gets saved in the database.
I am sorry if this sounds like a stupid question but I honestly did not find anything on the npmjs package or anywhere except the documentation where it shows how to use features
I have a ResetToken model that has 3 fields, account_id, token_expiry_date and the token itself
I hash the tokens using argon2 and store it in the database
My sequelize model already has a beforeUpdate and beforeCreate hook that performs the hashing
CREATING
When creating a new entry, all I have to do is input the raw token and it immediately stores it in its hash form
VIEWING
When viewing it shows me the hashed value of the token
What does @adminjs/passwords do exactly? The data will already be hashed at the model level, no?
In that features documentation it has 2 properties, encryptedPassword and password? Is this library suppoesd to be used when you are encrypting passwords instead of hashing them to hide the plaintext passwords?
The text was updated successfully, but these errors were encountered: