diff --git a/src/server/admin.rs b/src/server/admin.rs index ca69feb6..bd7c2ba7 100644 --- a/src/server/admin.rs +++ b/src/server/admin.rs @@ -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)