@@ 45,24 45,18 @@ impl Default for CfgSettings {
pub struct CfgUser {
/// User logged in status
pub logged_in: bool,
- /// User Token
- pub user_token: String,
- /// User ID
- pub id: String,
/// Username
pub username: String,
- /// User email
- pub email: String,
+ /// User Session Cookie
+ pub cookie: String,
}
impl Default for CfgUser {
fn default() -> Self {
CfgUser {
logged_in: false,
- user_token: "".to_string(),
- id: "".to_string(),
username: "".to_string(),
- email: "".to_string(),
+ cookie: "".to_string(),
}
}
}