fix: hash pwd!

This commit is contained in:
əlemi 2024-05-27 07:16:37 +02:00
parent a3fe45d36b
commit 570b045bf0
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -74,7 +74,7 @@ impl Administrable for super::Context {
internal: NotSet,
actor: Set(ap_id),
login: Set(username),
password: Set(password),
password: Set(sha256::digest(password)),
};
crate::model::credential::Entity::insert(credentials_model)