diff options
author | metamuffin <metamuffin@disroot.org> | 2024-01-30 16:34:38 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-01-30 16:34:38 +0100 |
commit | ef88eba498d0362137bcc9203a4cf1a20b6dec9e (patch) | |
tree | bd1e6ce50d5f591b722ed12459a116a0b0aff883 /common | |
parent | 81326d9178a04814c0c8ed669bdf2f19fc865fbe (diff) | |
download | jellything-ef88eba498d0362137bcc9203a4cf1a20b6dec9e.tar jellything-ef88eba498d0362137bcc9203a4cf1a20b6dec9e.tar.bz2 jellything-ef88eba498d0362137bcc9203a4cf1a20b6dec9e.tar.zst |
np: authentificate native
Diffstat (limited to 'common')
-rw-r--r-- | common/src/user.rs | 8 |
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, } |