aboutsummaryrefslogtreecommitdiff
path: root/server/src/config.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2023-01-22 13:56:06 +0100
committermetamuffin <metamuffin@disroot.org>2023-01-22 13:56:06 +0100
commitec76bbe5398f51ffa55bfd315b30c0a07245d4e6 (patch)
treefa0e1723f861de6fee21a35524bb7768fab0b6ce /server/src/config.rs
parent84e093afa908dc68a7b0ae97ba8dc76aa0901d26 (diff)
downloadjellything-ec76bbe5398f51ffa55bfd315b30c0a07245d4e6.tar
jellything-ec76bbe5398f51ffa55bfd315b30c0a07245d4e6.tar.bz2
jellything-ec76bbe5398f51ffa55bfd315b30c0a07245d4e6.tar.zst
this is *horrible*
Diffstat (limited to 'server/src/config.rs')
-rw-r--r--server/src/config.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/src/config.rs b/server/src/config.rs
index 10b5b5f..86f7068 100644
--- a/server/src/config.rs
+++ b/server/src/config.rs
@@ -7,6 +7,9 @@ pub struct GlobalConfig {
pub brand: String,
pub database_path: PathBuf,
pub library_path: PathBuf,
+ pub admin_username: String,
+ pub admin_password: String,
+ pub cookie_key: String,
}
pub fn load_global_config() -> GlobalConfig {