From 985ce53a97b55961d9adc3c4cdd3ddc9075166c8 Mon Sep 17 00:00:00 2001 From: Imbus Date: Sat, 21 Oct 2023 08:51:51 +0200 Subject: [PATCH] Changed demo username --- server/src/state.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/state.rs b/server/src/state.rs index 93b1d1d..7d038fd 100644 --- a/server/src/state.rs +++ b/server/src/state.rs @@ -54,7 +54,7 @@ async fn debug_setup(pool: &SqlitePool) -> Result<(), sqlx::Error> { use crate::db::db_new_user; - db_new_user("testuser".to_string(), "testpassword".to_string(), pool).await; + db_new_user("user".to_string(), "pass".to_string(), pool).await; // This requires that the user with id 1 exists in the user table query!("INSERT INTO posts (user_id, content) VALUES (1, 'Hello world!')",)