DEVELOPMENT ENVIRONMENT

~liljamo/deck-builder

eb83a7abce2762db2b5c7f192aa8135739e3a0ae — Jonni Liljamo 1 year, 9 months ago 2342afe
fix(api): skip user model password field
1 files changed, 3 insertions(+), 0 deletions(-)

M api/src/models/user.rs
M api/src/models/user.rs => api/src/models/user.rs +3 -0
@@ 20,6 20,9 @@ pub(crate) struct User {
    pub updated_at: NaiveDateTime,
    pub username: String,
    pub email: String,
    #[allow(dead_code)]
    #[serde(skip_serializing)]
    pub password: String,
}

#[derive(Deserialize, Insertable)]