1
0
Fork 0
forked from alemi/upub

fix: duhhh

This commit is contained in:
əlemi 2024-03-26 01:19:34 +01:00
parent 0c8afc2780
commit 794548d14a
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -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();