fix: duhhh
This commit is contained in:
parent
0c8afc2780
commit
794548d14a
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ UQIDAQAB
|
||||||
credential::Entity::insert(credential::ActiveModel {
|
credential::Entity::insert(credential::ActiveModel {
|
||||||
id: Set(root.id.clone()),
|
id: Set(root.id.clone()),
|
||||||
email: Set("mail@example.net".to_string()),
|
email: Set("mail@example.net".to_string()),
|
||||||
password: Set("very-strong-password".to_string()),
|
password: Set(sha256::digest("very-strong-password")),
|
||||||
}).exec(db).await?;
|
}).exec(db).await?;
|
||||||
|
|
||||||
let context = uuid::Uuid::new_v4().to_string();
|
let context = uuid::Uuid::new_v4().to_string();
|
||||||
|
|
Loading…
Reference in a new issue