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

View File

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