From ef88eba498d0362137bcc9203a4cf1a20b6dec9e Mon Sep 17 00:00:00 2001 From: metamuffin Date: Tue, 30 Jan 2024 16:34:38 +0100 Subject: np: authentificate native --- common/src/user.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'common/src/user.rs') 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, 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, } -- cgit v1.2.3-70-g09d2