diff options
author | metamuffin <metamuffin@disroot.org> | 2023-10-24 15:08:15 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2023-10-24 15:08:15 +0200 |
commit | f4f3a16bca576c202887799066bd896863612e2b (patch) | |
tree | 8ddb9cdc47abae7bc615109f241b2cd12e141128 /server/src/database.rs | |
parent | c1afcdc0dc4e59cb2ce1e8c65b69c5647f2132f3 (diff) | |
download | jellything-f4f3a16bca576c202887799066bd896863612e2b.tar jellything-f4f3a16bca576c202887799066bd896863612e2b.tar.bz2 jellything-f4f3a16bca576c202887799066bd896863612e2b.tar.zst |
partial theme implementation
Diffstat (limited to 'server/src/database.rs')
-rw-r--r-- | server/src/database.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/src/database.rs b/server/src/database.rs index 6c3b938..80bfe50 100644 --- a/server/src/database.rs +++ b/server/src/database.rs @@ -7,7 +7,7 @@ use crate::routes::ui::account::hash_password; use anyhow::Context; use jellybase::CONF; use jellycommon::{ - user::{PermissionSet, User}, + user::{PermissionSet, Theme, User}, Node, }; use log::info; @@ -42,6 +42,7 @@ impl Database { &CONF.admin_username, &User { admin: true, + theme: Theme::Dark, display_name: "Admin".to_string(), name: CONF.admin_username.clone(), password: hash_password(&CONF.admin_username, &CONF.admin_password), |