aboutsummaryrefslogtreecommitdiff
path: root/server/src/database.rs
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/database.rs')
-rw-r--r--server/src/database.rs3
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),