Skip deserializing password and salt fields as well for user obj
This commit is contained in:
parent
27fcb01ede
commit
8c59fdee30
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue