aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-01-30 16:34:38 +0100
committermetamuffin <metamuffin@disroot.org>2024-01-30 16:34:38 +0100
commitef88eba498d0362137bcc9203a4cf1a20b6dec9e (patch)
treebd1e6ce50d5f591b722ed12459a116a0b0aff883 /common
parent81326d9178a04814c0c8ed669bdf2f19fc865fbe (diff)
downloadjellything-ef88eba498d0362137bcc9203a4cf1a20b6dec9e.tar
jellything-ef88eba498d0362137bcc9203a4cf1a20b6dec9e.tar.bz2
jellything-ef88eba498d0362137bcc9203a4cf1a20b6dec9e.tar.zst
np: authentificate native
Diffstat (limited to 'common')
-rw-r--r--common/src/user.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/src/user.rs b/common/src/user.rs
index 4b39673..5f2b0e4 100644
--- a/common/src/user.rs
+++ b/common/src/user.rs
@@ -13,16 +13,16 @@ use std::{
fmt::Display,
};
+#[rustfmt::skip]
#[derive(Debug, Clone, Serialize, Deserialize, Encode, Decode, Default)]
pub struct User {
pub name: String,
pub display_name: String,
pub password: Vec<u8>,
pub admin: bool,
- #[serde(default)]
- pub theme: Theme,
- #[serde(default)]
- pub player_preference: PlayerKind,
+ #[serde(default)] pub theme: Theme,
+ #[serde(default)] pub player_preference: PlayerKind,
+ #[serde(default)] pub native_secret: String,
pub permissions: PermissionSet,
}