fix: hash pwd!
This commit is contained in:
parent
a3fe45d36b
commit
570b045bf0
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ impl Administrable for super::Context {
|
||||||
internal: NotSet,
|
internal: NotSet,
|
||||||
actor: Set(ap_id),
|
actor: Set(ap_id),
|
||||||
login: Set(username),
|
login: Set(username),
|
||||||
password: Set(password),
|
password: Set(sha256::digest(password)),
|
||||||
};
|
};
|
||||||
|
|
||||||
crate::model::credential::Entity::insert(credentials_model)
|
crate::model::credential::Entity::insert(credentials_model)
|
||||||
|
|
Loading…
Reference in a new issue