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
{{ message }}
This repository has been archived by the owner on Nov 19, 2020. It is now read-only.
Password field should generate a salt into the salt field or use the one we wrote into the salt field to hash with the password. We should have data into the salt field and if you wrote manually a string into the salt field and we compare the saved hash with the salt+clear_password it's not working because it didn't use any salt be we want one.
Or maybe I have miss something and the doc isn't clear at all...
Actual Behavior
No salt generated or if we enter one in the salt field it didn't use it to hash the password. So if you compare the hashed password with the clear_password it will work without any salt be we want one.
Steps to Reproduce
create a table or use one already existing
add a password field
add a salt field (of type VARCHAR, or TEXT or what ever could hold a salt string because we tried every type and nothing work...)
configure the password field to use the salt field we just created
create a new entry into the new table or use an existing one
try to generate a password and save
go see if the salt field was populated or try to hash the password with the string you wrote into the field it will not work, but if you hash with the password you just generated it will work without salt.
Schema Dump, Logs, or Screenshots
The text was updated successfully, but these errors were encountered:
From directus created by brianhyper : directus/directus#2059
Version Info
Expected Behavior
Password field should generate a salt into the salt field or use the one we wrote into the salt field to hash with the password. We should have data into the salt field and if you wrote manually a string into the salt field and we compare the saved hash with the salt+clear_password it's not working because it didn't use any salt be we want one.
Or maybe I have miss something and the doc isn't clear at all...
Actual Behavior
No salt generated or if we enter one in the salt field it didn't use it to hash the password. So if you compare the hashed password with the clear_password it will work without any salt be we want one.
Steps to Reproduce
Schema Dump, Logs, or Screenshots
The text was updated successfully, but these errors were encountered: