From 794548d14a664156d665465b2f8fd54e1debb665 Mon Sep 17 00:00:00 2001 From: alemi Date: Tue, 26 Mar 2024 01:19:34 +0100 Subject: [PATCH] fix: duhhh --- src/model/faker.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/model/faker.rs b/src/model/faker.rs index 1e37d20f..4d41a6ae 100644 --- a/src/model/faker.rs +++ b/src/model/faker.rs @@ -50,7 +50,7 @@ UQIDAQAB credential::Entity::insert(credential::ActiveModel { id: Set(root.id.clone()), email: Set("mail@example.net".to_string()), - password: Set("very-strong-password".to_string()), + password: Set(sha256::digest("very-strong-password")), }).exec(db).await?; let context = uuid::Uuid::new_v4().to_string();