Skip deserializing password and salt fields as well for user obj

This commit is contained in:
Franklin 2022-08-27 12:03:14 -04:00
parent 27fcb01ede
commit 8c59fdee30
1 changed files with 2 additions and 2 deletions

View File

@ -14,9 +14,9 @@ pub struct User{
pub credential: String, pub credential: String,
pub credential_type: String, pub credential_type: String,
pub name: String, pub name: String,
#[serde(skip_serializing)] #[serde(skip_serializing, skip_deserializing)]
pub password: String, pub password: String,
#[serde(skip_serializing)] #[serde(skip_serializing, skip_deserializing)]
pub salt: String pub salt: String
} }
impl User { impl User {