Merge branch 'master' of git.silversoft.se:Imbus/FrostByte

This commit is contained in:
Imbus 2024-03-05 22:32:32 +01:00
commit ce4b2c2ad8
2 changed files with 24 additions and 0 deletions

View file

@ -50,6 +50,11 @@ impl ServerState {
Some(u) => info!("Created default user {}", u.username),
None => error!("Failed to create default user..."),
}
match crate::db::db_new_user("hollgy".to_string(), "yomomonpizza".to_string(), &pool).await
{
Some(u) => info!("Created default user {}", u.username),
None => error!("Failed to create default user..."),
}
match crate::db::db_new_user("demouser".to_string(), "demopw".to_string(), &pool).await {
Some(u) => info!("Created default user {}", u.username),
None => error!("Failed to create default user..."),